nemo_gym.sandbox.providers.opensandbox.provider
nemo_gym.sandbox.providers.opensandbox.provider
OpenSandbox provider implementation.
Module Contents
Classes
Functions
Data
IMAGE_PULL_POLICY_ANNOTATION_EXTENSION_KEY
IMAGE_PULL_POLICY_EXTENSION_KEY
PROVIDER_OPTION_SKIP_HEALTH_CHECK
API
OpenSandbox server connection settings.
OpenSandbox create/reconnect retry settings.
Bases: SandboxCreateError
Raised when OpenSandbox cannot create a sandbox.
Bases: OpenSandboxCreateError
Raised when OpenSandbox sandbox creation exceeds the client timeout.
Bases: SandboxCreateVerificationError
Raised when a newly-created sandbox cannot execute a probe command.
Retry and timeout settings for SDK operations after create.
Post-create probe settings.
Provider backed by the OpenSandbox SDK/server API.
Reconnect after SDK create so follow-up calls use a fresh SDK handle.
Create a sandbox through opensandbox.Sandbox.create.
Run a command inside an OpenSandbox sandbox.
Read one file from an OpenSandbox sandbox.
Ensure SDK create requests carry the desired image pull policy.
Write one file into an OpenSandbox sandbox.
Close provider-owned resources.
Terminate the sandbox and close local SDK resources.
Create one sandbox through the configured OpenSandbox path.
Download one file from an OpenSandbox sandbox.
Run a command inside an OpenSandbox sandbox.
Return the current OpenSandbox lifecycle status.
Upload one local file into an OpenSandbox sandbox.
Return whether a sandbox create failure is likely transient.
Return whether an SDK operation can be retried.
Validate a Kubernetes-compatible container image pull policy.