Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pluralsh/console-client-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.73
Choose a base ref
...
head repository: pluralsh/console-client-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.74
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jan 9, 2024

  1. Copy the full SHA
    78bfb0e View commit details
Showing with 102 additions and 0 deletions.
  1. +94 −0 client.go
  2. +6 −0 graph/pipeline.graphql
  3. +2 −0 schema/schema.graphql
94 changes: 94 additions & 0 deletions client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions graph/pipeline.graphql
Original file line number Diff line number Diff line change
@@ -4,6 +4,12 @@ mutation SavePipeline($name: String!, $attributes: PipelineAttributes!) {
}
}

mutation DeletePipeline($id: ID!) {
deletePipeline(id: $id) {
...PipelineFragment
}
}

query GetPipeline($id: ID!) {
pipeline(id: $id) { ...PipelineFragment }
}
2 changes: 2 additions & 0 deletions schema/schema.graphql
Original file line number Diff line number Diff line change
@@ -434,6 +434,8 @@ type RootMutationType {
"upserts a pipeline with a given name"
savePipeline(name: String!, attributes: PipelineAttributes!): Pipeline

deletePipeline(id: ID!): Pipeline

"approves an approval pipeline gate"
approveGate(id: ID!): PipelineGate