Skip to content

Commit

Permalink
CRUD namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Mar 28, 2024
1 parent ee2ed71 commit a4d1911
Show file tree
Hide file tree
Showing 2 changed files with 257 additions and 0 deletions.
239 changes: 239 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/namespace.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
mutation CreateNamespace($attributes: ManagedNamespaceAttributes!) {
createManagedNamespace(attributes: $attributes) {
...ManagedNamespaceFragment
}
}

mutation UpdateNamespace($id: ID!, $attributes: ManagedNamespaceAttributes!) {
updateManagedNamespace(id: $id, attributes: $attributes) {
...ManagedNamespaceFragment
}
}

mutation DeleteNamespace($id: ID!) {
deleteManagedNamespace(id: $id) {
id
}
}

query ListNamespaces($after: String, $first: Int, $before: String, $last: Int) {
managedNamespaces(after: $after, first: $first, before: $before, last: $last) {
pageInfo { ...PageInfoFragment }
Expand Down

0 comments on commit a4d1911

Please sign in to comment.