# Functions
NewIPOpt creates a new IPOpt from a reference net.IP and a string representation of an IP.
NewListOpts creates a new ListOpts with the specified validator.
NewListOptsRef creates a new ListOpts with the specified values and validator.
NewMapOpts creates a new MapOpts with the specified map of values and a validator.
NewUlimitOpt creates a new UlimitOpt.
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.
ParseHost and set defaults for a Daemon host string.
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.
ValidateDNSSearch validates domain for resolvconf search configuration.
ValidateEnv validates an environment variable and returns it.
ValidateExtraHost validates that the specified string is a valid extrahost and returns it.
ValidateHost validates that the specified string is a valid host and returns it.
ValidateIPAddress validates an Ip address.
ValidateLabel validates that the specified string is a valid label, and returns it.
ValidateLink validates that the specified string has a valid link format (containerName:alias).
ValidateMACAddress validates a MAC address.
ValidatePath validates a path for volumes It will make sure 'val' is in the form: [host-dir:]container-path[:rw|ro] It also validates the mount mode.
ValidDeviceMode checks if the mode for device is valid or not.
# Variables
DefaultHost constant defines the default host string used by docker on other hosts than Windows.
DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g.
Default HTTP Port.
DefaultTCPHost constant defines the default host string used by docker on Windows.
DefaultTLSHost constant defines the default host string used by docker for TLS sockets.
Default TLS encrypted HTTP Port.
DefaultUnixSocket Path for the unix socket.
# Structs
ErrBadEnvVariable typed error for bad environment variable.
IPOpt holds an IP.
ListOpts holds a list of values and a validation function.
MapOpts holds a map of values and a validation function.
UlimitOpt defines a map of Ulimits.
# Type aliases
ValidatorFctListType defines a validator function that returns a validated list of string and/or an error.
ValidatorFctType defines a validator function that returns a validated string and/or an error.