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

Commits on Oct 31, 2023

  1. Copy the full SHA
    4f43ba9 View commit details
Showing with 58 additions and 16 deletions.
  1. +30 −15 client.go
  2. +28 −1 graph/models.graphql
45 changes: 30 additions & 15 deletions client.go

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

29 changes: 28 additions & 1 deletion graph/models.graphql
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ fragment ServiceDeploymentFragment on ServiceDeployment {
}

fragment ServiceDeploymentExtended on ServiceDeployment {
cluster { ...ClusterFragment }
cluster { ...BaseClusterFragment }
errors { ...ErrorFragment }
revision { ...RevisionFragment }
...ServiceDeploymentFragment
@@ -78,6 +78,19 @@ fragment GitRefFragment on GitRef {
ref
}

fragment BaseClusterFragment on Cluster {
id
name
handle
self
version
pingedAt
currentVersion
kasUrl
provider { ...BaseClusterProviderFragment }
nodePools { ...NodePoolFragment }
}

fragment ClusterFragment on Cluster {
id
name
@@ -99,6 +112,20 @@ fragment NodePoolFragment on NodePool {
instanceType
}

fragment BaseClusterProviderFragment on ClusterProvider {
id
name
namespace
cloud
editable
repository {
...GitRepositoryFragment
}
credentials {
...ProviderCredentialFragment
}
}

fragment ClusterProviderFragment on ClusterProvider {
id
name