Skip to main content

Module environments

Module environments 

Source
Available on crate feature managed-agents-preview only.
Expand description

Environments: container configuration for sessions.

An environment defines the cloud container (pre-installed packages, networking policy) where sessions run. Multiple sessions can share one environment; each gets its own container instance.

Environments are not versioned; mutate via re-create rather than patch. The lifecycle is create → list/retrieve → archive → delete.

Structs§

CloudConfig
Body of an EnvironmentConfig::Cloud.
CloudConfigBuilder
Builder for EnvironmentConfig::Cloud.
CreateEnvironmentRequest
Request body for POST /v1/environments.
Environment
An environment definition.
EnvironmentPackages
Pre-installed packages, indexed by package manager. Caches across sessions that share the environment.
Environments
Namespace handle for the Environments API.
LimitedNetworking
Body of a Networking::Limited policy.
ListEnvironmentsParams
Optional knobs for Environments::list.
UpdateEnvironmentRequest
Request body for Environments::update. All fields optional with merge-patch semantics: omit a field to preserve.

Enums§

EnvironmentConfig
Container configuration. Currently only the cloud shape is documented; new shapes fall through to Self::Other.
Networking
Networking policy for the container.