diff --git a/go.mod b/go.mod index 5cd5c51..df29f92 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,6 @@ go 1.18 require ( github.com/Yamashou/gqlgenc v0.14.0 - github.com/pluralsh/gqlclient v1.10.0 github.com/schollz/progressbar/v3 v3.8.6 ) diff --git a/go.sum b/go.sum index 2af12a8..71023dd 100644 --- a/go.sum +++ b/go.sum @@ -31,8 +31,6 @@ github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/pluralsh/gqlclient v1.10.0 h1:ccYB+A0JbPYkEeVzdfajd29l65N6x/buSKPMMxM8OIA= -github.com/pluralsh/gqlclient v1.10.0/go.mod h1:qSXKUlio1F2DRPy8el4oFYsmpKbkUYspgPB87T4it5I= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= diff --git a/graph/models.graphql b/graph/models.graphql index 88018ca..cb544cc 100644 --- a/graph/models.graphql +++ b/graph/models.graphql @@ -109,12 +109,17 @@ fragment ClusterFragment on Cluster { protect currentVersion kasUrl - tags { name value } + tags { ...ClusterTags } credential { ...ProviderCredentialFragment } provider { ...ClusterProviderFragment } nodePools { ...NodePoolFragment } } +fragment ClusterTags on Tag { + name + value +} + fragment NodePoolFragment on NodePool { id name