Skip to main content

Module container

Module container 

Expand description

Podman container lifecycle management for plugin runtimes.

Structs§

GCContainerRunner
Manages runtime containers via the podman CLI.
GCContainerRunnerBuilder
GCContainerRunnerConfig 🔒
Configuration for the container runner

Enums§

ContainerRunnerError

Constants§

DEFAULT_NETWORK
Default Podman bridge network name for gateway containers.
DEFAULT_RUNTIME_BINARY
Default host path of the gc_gateway runtime binary, mounted into each runtime container.
DEFAULT_RUNTIME_IMAGE
Default image used for runtime containers.
MANAGED_LABEL_KEY
Label applied to every container managed by this runner, for bulk operations.
MANAGED_LABEL_VALUE
RUNTIME_ID_LABEL_KEY
Label that stores the runtime ID on the container.

Functions§

container_name
Derives the container name for a given runtime ID.
run_podman 🔒
Runs podman <args> and returns an error if the exit code is non-zero.