Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
DefaultConfig returns an OCI config generator with a default OCI configuration for cgroups v1 or v2 dependent on the current host.
func DefaultConfigV1 ¶
DefaultConfigV1 returns an OCI config generator with a default OCI configuration for cgroups v1.
func DefaultConfigV2 ¶
DefaultConfigV2 returns an OCI config generator with a default OCI configuration for cgroups v2. This is identical to v1 except that we use a cgroup namespace, and mount the namespaced cgroup fs into the container.
Types ¶
type Config ¶
Config is the OCI runtime configuration.
func (*Config) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (*Config) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.