Skip to content

Commit

Permalink
add GetNamespaceByName
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Jul 12, 2024
1 parent 2255fa2 commit 086d883
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
95 changes: 95 additions & 0 deletions client.go

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

6 changes: 6 additions & 0 deletions graph/namespace.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ query GetNamespace($id: ID!) {
}
}

query GetNamespaceByName($name: String!) {
managedNamespace(name: $name) {
...ManagedNamespaceFragment
}
}

mutation CreateNamespace($attributes: ManagedNamespaceAttributes!) {
createManagedNamespace(attributes: $attributes) {
...ManagedNamespaceFragment
Expand Down

0 comments on commit 086d883

Please sign in to comment.