# Functions
ConvertKVStringsToMap converts ["key=value"] to {"key":"value"}.
NewThrottledeviceOpt creates a new ThrottledeviceOpt.
NewUlimitOpt creates a new UlimitOpt.
NewWeightdeviceOpt creates a new WeightdeviceOpt.
Parse parses the specified args for the specified command and generates a Config, a HostConfig and returns them with the specified command.
ParseDevice parses a device mapping string to a container.DeviceMapping struct.
ParseEnvFile reads a file with environment variables enumerated by lines
``Environment variable names used by the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Character Set and do not begin with a digit.
ParseLink parses and validates the specified string as a link format (name:alias).
ParseRestartPolicy returns the parsed policy or an error indicating what is incorrect.
reads a file of line terminated key=value pairs and override that with override parameter.
ValidateAttach validates that the specified string is a valid attach option.
ValidateDevice validates a path for devices It will make sure 'val' is in the form: [host-dir:]container-path[:mode] It also validates the device mode.
ValidateEnv validates an environment variable and returns it.
ValidateExtraHost validates that the specified string is a valid extrahost and returns it.
ValidateLink validates that the specified string has a valid link format (containerName:alias).
ValidateMACAddress validates a MAC address.
ValidateThrottleBpsDevice validates that the specified string has a valid device-rate format.
ValidateThrottleIOpsDevice validates that the specified string has a valid device-rate format.
ValidateWeightDevice validates that the specified string has a valid device-weight format.
ValidDeviceMode checks if the mode for device is valid or not.
volumeSplitN splits raw into a maximum of n parts, separated by a separator colon.
# Structs
ErrBadEnvVariable typed error for bad environment variable.
ThrottledeviceOpt defines a map of ThrottleDevices.
UlimitOpt defines a map of Ulimits.
WeightdeviceOpt defines a map of WeightDevices.
# Type aliases
ValidatorThrottleFctType defines a validator function that returns a validated struct and/or an error.
ValidatorWeightFctType defines a validator function that returns a validated struct and/or an error.