OBJECT
KubernetesMutateResource
link GraphQL Schema definition
- type KubernetesMutateResource {
- # Create kubernetes resource, specified by kind
- #
- # Arguments
- # context: KRM context
- # dryRun: Submit request without persisting the resource
- # json: Raw JSON input as expected by KRM API
- # kind: Resource kind - also accepts singular, plural or short
- # names of types
- # kindMajorVersion: Major version number of resource kind schema
- # resource: GraphQL JSON representation of resource, which is
- # slightly different from KRM form
- # yaml: Raw YAML input as expected by KRM API
- (
- KubernetesResourceContextInput, :
- Boolean, :
- JSON, :
- String!, :
- Int, :
- JSON, :
- String :
- ): KubernetesResourceInterface
- # Delete kubernetes resource, specified by kind and name
- #
- # Arguments
- # context: KRM context
- # dryRun: Submit request without persisting the resource
- # json: Raw JSON input as expected by KRM API
- # kind: Resource kind - also accepts singular, plural or short
- # names of types
- # kindMajorVersion: Major version number of resource kind schema
- # resource: GraphQL JSON representation of resource, which is
- # slightly different from KRM form
- # yaml: Raw YAML input as expected by KRM API
- (
- KubernetesResourceContextInput, :
- Boolean, :
- JSON, :
- String!, :
- Int, :
- JSON, :
- String :
- ): KubernetesMutateDeleteResponse
- # Patch kubernetes resource, specified by kind and name
- #
- # Arguments
- # context: KRM context
- # dryRun: Submit request without persisting the resource
- # json: Raw JSON input as expected by KRM API
- # kind: Resource kind - also accepts singular, plural or short
- # names of types
- # kindMajorVersion: Major version number of resource kind schema
- # name: Name of the resource that is being updated
- # patchType: The type of the patch being provided
- # resource: GraphQL JSON representation of resource, which is
- # slightly different from KRM form
- # yaml: Raw YAML input as expected by KRM API
- (
- KubernetesResourceContextInput, :
- Boolean, :
- JSON, :
- String!, :
- Int, :
- String!, :
- KubernetesPatchType!, :
- JSON, :
- String :
- ): KubernetesResourceInterface
- # Update kubernetes resource, specified by kind and name
- #
- # Arguments
- # context: KRM context
- # dryRun: Submit request without persisting the resource
- # json: Raw JSON input as expected by KRM API
- # kind: Resource kind - also accepts singular, plural or short
- # names of types
- # kindMajorVersion: Major version number of resource kind schema
- # resource: GraphQL JSON representation of resource, which is
- # slightly different from KRM form
- # yaml: Raw YAML input as expected by KRM API
- (
- KubernetesResourceContextInput, :
- Boolean, :
- JSON, :
- String!, :
- Int, :
- JSON, :
- String :
- ): KubernetesResourceInterface
- # Upsert (create or update) kubernetes resource, specified by kind
- #
- # Arguments
- # context: KRM context
- # dryRun: Submit request without persisting the resource
- # json: Raw JSON input as expected by KRM API
- # kind: Resource kind - also accepts singular, plural or short
- # names of types
- # kindMajorVersion: Major version number of resource kind schema
- # resource: GraphQL JSON representation of resource, which is
- # slightly different from KRM form
- # yaml: Raw YAML input as expected by KRM API
- (
- KubernetesResourceContextInput, :
- Boolean, :
- JSON, :
- String!, :
- Int, :
- JSON, :
- String :
- ): KubernetesResourceInterface
- }