Module container
Expand description
Podman container lifecycle management for plugin runtimes.
Structs§
- GCContainer
Runner - Manages runtime containers via the
podmanCLI. - GCContainer
Runner Builder - GCContainer
Runner 🔒Config - Configuration for the container runner
Enums§
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.