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.70
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.71
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 5, 2024

  1. add global service methods

    zreigz committed Jan 5, 2024
    Copy the full SHA
    7d75d09 View commit details
Showing with 145 additions and 0 deletions.
  1. +127 −0 client.go
  2. +18 −0 graph/deployment.graphql
127 changes: 127 additions & 0 deletions client.go

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

18 changes: 18 additions & 0 deletions graph/deployment.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
mutation CreateGlobalServiceDeployment($serviceId: ID!, $cluster: String!, $name: String!, $attributes: GlobalServiceAttributes!) {
createGlobalService(serviceId: $serviceId, cluster: $cluster, name: $name, attributes: $attributes) {
...GlobalServiceFragment
}
}

mutation UpdateGlobalServiceDeployment($id: ID!, $attributes: GlobalServiceAttributes!) {
updateGlobalService(id: $id, attributes: $attributes) {
...GlobalServiceFragment
}
}

mutation DeleteGlobalServiceDeployment($id: ID!) {
deleteGlobalService(id: $id) {
...GlobalServiceFragment
}
}

mutation CreateServiceDeployment($clusterId: ID!, $attributes: ServiceDeploymentAttributes!) {
createServiceDeployment(clusterId: $clusterId, attributes: $attributes) {
...ServiceDeploymentExtended