Skip to content

Commit

Permalink
feat: Add some cloud queries (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino authored Aug 15, 2024
1 parent a782fd1 commit d29d91e
Show file tree
Hide file tree
Showing 4 changed files with 454 additions and 16 deletions.
134 changes: 134 additions & 0 deletions client.go

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

21 changes: 21 additions & 0 deletions graph/cloud.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
fragment ConsoleInstanceFragment on ConsoleInstance {
id
name
url
}

query GetConsoleInstances($first: Int!) {
consoleInstances(first: $first) {
edges {
node {
...ConsoleInstanceFragment
}
}
}
}

mutation UpdateConsoleInstance($id: ID!, $attributes: ConsoleInstanceUpdateAttributes!) {
updateConsoleInstance(id: $id, attributes: $attributes) {
...ConsoleInstanceFragment
}
}
185 changes: 185 additions & 0 deletions models_gen.go

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

Loading

0 comments on commit d29d91e

Please sign in to comment.