Skip to main content

Module host_lifecycle

Module host_lifecycle 

Source
Expand description

Host-lifecycle contracts (intent, selectors, approval).

Resource IDs use the released spelling deployment-target/<host> (see schemas/canonical-resource.schema.json). Lifecycle intent is an operator plan request, not ambient desired state: it is required when planning deployment targets, is persisted on the plan, and contributes to the plan digest.

Structs§

ApprovalEvidence
ApprovalRequirement
Approval requirement derived at plan time for destructive host actions. Evidence must bind to the exact plan digest and listed resource IDs.
ObservedDeploymentTarget
Observed state for a deployment target (metadata and optional live paths).

Enums§

ApprovalKind
EnrollmentStrategy
Confidential enrollment delivery selected for install and convert plans.
HostIdentityAction
Explicit stable SSH host-identity maintenance requested at plan time.
InstallMode
Explicit handling of an owning guest during an install lifecycle.
LifecycleIntent
Operator-selected host lifecycle intent.

Constants§

DEPLOYMENT_TARGET_PREFIX

Functions§

approval_requirements_for_install
approval_requirements_from_actions
Derive plan-level approval requirements from mutating actions.
deployment_target_host_name
is_deployment_target_selector
Whether a selector is a released deployment-target resource id.
reject_invalid_deployment_target_spelling
Reject camelCase / wrong resource path spellings used in early drafts.