OBJECT

KubernetesMutateBulkResources

link GraphQL Schema definition

  • type KubernetesMutateBulkResources {
  • # Delete kubernetes resource, specified by kind and name
  • #
  • # Arguments
  • # context: KRM context
  • # dryRun: Submit request without persisting the resource
  • # json: JSON list of raw resource inputs as expected by KRM API
  • # resources: GraphQL JSON representation of list of resources,
  • # GraphQL JSON representation is slightly different from KRM form
  • # yaml: Raw YAML document input as expected by KRM API, multiple
  • # documents may be separated by --
  • bulkDelete(
  • context: KubernetesResourceContextInput,
  • dryRun: Boolean,
  • json: JSON,
  • resources: JSON,
  • yaml: String
  • ): [KubernetesMutateDeleteResponse]
  • # Bulk create/update kubernetes resource. Mutations are applied in seequence to
  • # allow dependencies on earlier resources.
  • #
  • # Arguments
  • # context: KRM context
  • # dryRun: Submit request without persisting the resource
  • # json: JSON list of raw resource inputs as expected by KRM API
  • # resources: GraphQL JSON representation of list of resources,
  • # GraphQL JSON representation is slightly different from KRM form
  • # yaml: Raw YAML document input as expected by KRM API, multiple
  • # documents may be separated by --
  • bulkUpsert(
  • context: KubernetesResourceContextInput,
  • dryRun: Boolean,
  • json: JSON,
  • resources: JSON,
  • yaml: String
  • ): [KubernetesResourceInterface]
  • }