# Packages
No description provided by the author
# Functions
Converts a Windows path to a WSL guest path if local env is a WSL linux guest or this is a Windows client.
FinishThrottleDevices takes the temporary representation of the throttle devices in the specgen and looks up the major and major minors.
GenVolumeMounts parses user input into mounts, volumes and overlay volumes.
NewPodSpecGenerator creates a new pod spec.
NewSpecGenerator returns a SpecGenerator struct given one of two mandatory inputs.
NewSpecGenerator returns a SpecGenerator struct given one of two mandatory inputs.
ParseCgroupNamespace parses a cgroup namespace specification in string form.
ParseIPCNamespace parses an ipc namespace specification in string form.
ParseNamespace parses a namespace in string form.
ParseNetworkFlag parses a network string slice into the network options If the input is nil or empty it will use the default setting from containers.conf.
ParseUserNamespace parses a user namespace specification in string form.
No description provided by the author
Splits a volume string, accounting for Win drive paths when running as a WSL linux guest or Windows client.
No description provided by the author
No description provided by the author
# Constants
Auto indicates to automatically create a user namespace.
Bridge indicates that the network backend (CNI/netavark) should be used.
Default indicates the spec generator should determine a sane default.
DefaultKernelNamespaces is a comma-separated list of default kernel namespaces.
FromContainer means namespace is derived from a different container.
FromPod indicates the namespace is derived from a pod.
Host means the namespace is derived from the host.
KeepID indicates a user namespace to keep the owner uid inside of the namespace itself.
NoMap indicates a user namespace to keep the owner uid out of the namespace itself.
None indicates the IPC namespace is created without mounting /dev/shm.
NoNetwork indicates no network namespace should be joined.
Pasta indicates that a pasta network stack should be used.
Path is the path to a namespace.
Private indicates the namespace is private.
Shareable indicates the namespace is shareable.
Slirp indicates that a slirp4netns network stack should be used.
# Variables
Multiple volume mounts to the same destination is not allowed.
ErrInvalidPodSpecConfig describes an error given when the podspecgenerator is invalid.
ErrInvalidSpecConfig describes an error that the given SpecGenerator is invalid.
ErrNoStaticIPRootless is used when a rootless user requests to assign a static IP address to a pod or container.
ErrNoStaticMACRootless is used when a rootless user requests to assign a static MAC address to a pod or container.
ImageVolumeModeValues describes the only values that ImageVolumeMode can be.
SystemDValues describes the only values that SystemD can be.
# Structs
ContainerBasicConfig contains the basic parts of a container.
ContainerCgroupConfig contains configuration information about a container's cgroups.
ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
ContainerNetworkConfig contains information on a container's network configuration.
ContainerResourceConfig contains information on container resource limits.
ContainerSecurityConfig is a container's security features, including SELinux, Apparmor, and Seccomp.
ContainerStorageConfig contains information on the storage configuration of a container.
ImageVolume is a volume based on a container image.
LogConfig describes the logging characteristics for a container swagger:model LogConfigLibpod.
NamedVolume holds information about a named volume that will be mounted into the container.
Namespace describes the namespace.
OverlayVolume holds information about an overlay volume that will be mounted into the container.
PodBasicConfig contains basic configuration options for pods.
PodCgroupConfig contains configuration options about a pod's cgroups.
PodNetworkConfig contains networking configuration for a pod.
No description provided by the author
No description provided by the author
PodSpecGenerator describes options to create a pod swagger:model PodSpecGenerator.
PodStorageConfig contains all of the storage related options for the pod and its infra container.
No description provided by the author
SpecGenerator creates an OCI spec and Libpod configuration options to create a container based on the given configuration.
# Type aliases
No description provided by the author