Skip to main content

Module local_execution

Module local_execution 

Source
Expand description

Durable implementation of the backend-neutral local execution lifecycle.

Structs§

ExecutionLifecycleLock
Cross-process lock shared with the CLI’s stopped-commit/start lock.
LocalExecutionBackendRouter
One fail-closed backend router that supports mixed legacy and OCI records.
LocalExecutionHandle
Runtime evidence persisted after an execution becomes ready.
LocalExecutionManager
Local lifecycle facade shared by service, CLI, and SDK adapters.
LocalExecutionObservation
One backend observation used during inspection and restart recovery.
LocalExecutionResourcePlan
Product resources derived by a backend before a new execution is reserved.
LocalExecutionTermination
Result of a terminal backend operation, including authoritative status when the runtime was able to observe it before teardown.
NativeLinuxOciBundleProvider
Prepares immutable bundles from Box image/rootfs policy while the separate A3S OCI Runtime service owns container lifecycle and I/O.
NativeLinuxOciMigrationConfig
Explicit native-Linux owner and artifact selection for Sandbox migration.
OciBundlePreparationContext
Stable runtime identities and negotiated capabilities available to product preparation.
OciLifecycleAdapter
SDK-only lifecycle adapter. It contains no Box image, VM, or driver internals.
OciLocalExecutionBackend
Opt-in canonical local-execution backend over one A3S OCI host service.
OciPreparedExecution
Product-owned OCI bundle and host bookkeeping required before lifecycle launch.
OciRuntimeBinding
Exact runtime identity persisted separately from the Box execution identity.
OciRuntimeLaunch
Result of a create/start composition through the public OCI SDK.
VmLocalExecutionBackend
Runtime adapter that owns live VmManager handles and reconstructs them from durable runtime evidence after a control-plane restart.
WindowsWhpxOciBundleProvider
Qualification-only producer for OCI Runtime’s Windows dedicated-VM service.
WindowsWhpxOciMigrationConfig
Explicit connection to an externally owned qualification-only WHPX service.

Enums§

OciMigrationPolicy
Explicit cutover policy applied only while creating a new Box record.
OciRuntimeEndpoint
Serializable platform-local endpoint retained for runtime reconciliation.

Constants§

OCI_RUNTIME_BINDING_SCHEMA_VERSION
Durable schema for one Box-to-OCI runtime attachment.

Traits§

LocalExecutionBackend
Backend operations invoked outside the durable state lock.
OciBundleProvider
Product-owned preparation boundary consumed by the OCI lifecycle backend.

Functions§

acquire_execution_lifecycle_lock
Acquire the cross-process lifecycle lock from synchronous callers such as the direct SDK. The returned guard holds the lock until it is dropped.
oci_isolation_request
Map product isolation to an OCI isolation requirement without selecting a driver.