# Packages
No description provided by the author
# Functions
No description provided by the author
Fill any missing parts of the spec generator (e.g.
ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an existing container.
DevicesFromPath computes a list of devices.
No description provided by the author
ExtractCDIDevices process the list of Devices in the spec and determines if any of these are CDI devices.
FinishThrottleDevices takes the temporary representation of the throttle devices in the specgen and looks up the major and major minors.
No description provided by the author
Get the default namespace mode for any given namespace type.
GetNamespaceOptions transforms a slice of kernel namespaces into a slice of pod create options.
No description provided by the author
No description provided by the author
IsValidDeviceMode checks if the mode for device is valid or not.
MakeContainer creates a container based on the SpecGenerator.
No description provided by the author
MapSpec modifies the already filled Infra specgenerator, replacing necessary values with those specified in pod creation.
ParseDevice parses device mapping string to a src, dest & permissions string.
Parse port maps to port mappings.
PullOrBuildInfraImage pulls down the specified image or the one set in containers.conf.
SpecGenToOCI returns the base configuration for the container.
Supersede existing mounts in the spec with new, user-specified mounts.