Skip to content

Commit

Permalink
add tags fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Nov 22, 2023
1 parent 67a772a commit 49852c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
7 changes: 6 additions & 1 deletion graph/models.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49852c9

Please sign in to comment.