Skip to main content

mutations

Typed specification

Generated by the pinned ess generate --kind docs from adapters/kubernetes/spec/ess. Structural validation establishes consistency; behaviour, storage and cross-record predicates remain implementation obligations.

Kubernetes-owned conditional Deployment restart preparation values.

connectors_kubernetes.mutations is one of connectors_kubernetes's bounded contexts. Back to the index.

Types​

DeploymentRestartTarget​

connectors_kubernetes.mutations.DeploymentRestartTarget is a record of six fields:

  • instance_ref — String
  • connection_ref — String
  • namespace — String
  • name — String
  • uid — String
  • resource_version — String

Every value satisfies (resource_version.count >= 1 and resource_version.count <= 20) and not (resource_version starts_with "0").

ExecChannel​

connectors_kubernetes.mutations.ExecChannel is one of stdout, stderr and status.

PodExecOutcome​

connectors_kubernetes.mutations.PodExecOutcome is one of completed, refused and unknown.

PodExecRequest​

connectors_kubernetes.mutations.PodExecRequest is a record of six fields:

  • namespace — String
  • pod — String
  • container — String
  • command — List<String>
  • timeout_seconds — Integer
  • max_output_bytes — Integer

Every value satisfies (namespace.count >= 1 and namespace.count <= 63), (pod.count >= 1 and pod.count <= 253), (container.count >= 1 and container.count <= 63), (command.count >= 1 and command.count <= 64), (timeout_seconds >= 1 and timeout_seconds <= 60) and (max_output_bytes >= 1 and max_output_bytes <= 1048576).

PodExecResult​

connectors_kubernetes.mutations.PodExecResult is a record of eight fields:

  • namespace — String
  • pod — String
  • container — String
  • exit_code — Integer
  • stdout — String
  • stderr — String
  • stdout_truncated — Boolean
  • stderr_truncated — Boolean

Every value satisfies (exit_code >= 0 and exit_code <= 255).

PreparedDeploymentRestart​

connectors_kubernetes.mutations.PreparedDeploymentRestart is a record of two fields:

  • target — connectors_kubernetes.mutations.DeploymentRestartTarget
  • restart_marker — String

Five of the types above are reached by nothing else in this system: connectors_kubernetes.mutations.ExecChannel, connectors_kubernetes.mutations.PodExecOutcome, connectors_kubernetes.mutations.PodExecRequest, connectors_kubernetes.mutations.PodExecResult and connectors_kubernetes.mutations.PreparedDeploymentRestart. No entity, view, command, event, error or crossing names them, so it is either vocabulary something outside this specification uses or a leftover — and only a person can tell which.


Generated from connectors_kubernetes v1 · model digest 860ee995d42502fcf5cf8042d04e0af8a02e201a325b1ea6d3c5c1b2d4cd0b9d · contract digest slice-sha256/2:a8a87023be7c992c3f3f35accc50e5c737f131667ef8db201adee7ea77ef0920. Do not edit this file; change the specification and regenerate it with ess generate.