# Functions
DNSSearchListVar Defines a flag with the specified names and usage and put the value into a ListOpts that will hold the values, validating the DNS search format.
HostListVar Defines a flag with the specified names and usage and put the value into a ListOpts that will hold the values, validating the Host format.
IPListVar Defines a flag with the specified names and usage and put the value into a ListOpts that will hold the values, validating the IP format.
IPVar Defines a flag with the specified names and usage for IP and will use the specified defaultValue if the specified value is not valid.
LabelListVar Defines a flag with the specified names and usage and put the value into a ListOpts that will hold the values, validating the label format.
ListVar Defines a flag with the specified names and usage, and put the value list into ListOpts that will hold the values.
LogOptsVar Defines a flag with the specified names and usage for --log-opts, and put the value map into MapOpt that will hold the values (key,value).
MapVar Defines a flag with the specified names and usage, and put the value map into MapOpt that will hold the values (key,value).
No description provided by the author
NewListOpts Create a new ListOpts with the specified validator.
No description provided by the author
No description provided by the author
No description provided by the author
ParseEnvFile Read in a line delimited file with environment variables enumerated.
UlimitMapVar Defines a flag with the specified names and usage for --ulimit, and put the value map into a UlimitOpt that will hold the values.
ValidateAttach Validates that the specified string is a valid attach option.
ValidateDevice Validate a path for devices It will make sure 'val' is in the form: [host-dir:]container-path[:mode].
ValidateDNSSearch Validates domain for resolvconf search configuration.
ValidateEnv Validate an environment variable and returns it It will use EnvironmentVariableRegexp to ensure the name of the environment variable is valid.
ValidateExtraHost Validate that the given string is a valid extrahost and returns it ExtraHost are in the form of name:ip where the ip has to be a valid ip (ipv4 or ipv6).
ValidateHost Validate that the given string is a valid host and returns it.
ValidateIPAddress Validates an Ip address.
ValidateLabel Validate that the given string is a valid label, and returns it Labels are in the form on key=value.
ValidateLink Validates that the specified string has a valid link format (containerName:alias).
ValidateMACAddress Validates a MAC address.
ValidatePath Validate a path for volumes It will make sure 'val' is in the form: [host-dir:]container-path[:rw|ro] It will also validate the mount mode.
# Variables
No description provided by the author
DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g.
Default HTTP Port.
DefaultUnixSocket Path for the unix socket.
EnvironmentVariableRegexp A regexp to validate correct environment variables Environment variables set by the user must have a name consisting solely of alphabetics, numerics, and underscores - the first of which must not be numeric.
# Structs
ErrBadEnvVariable typed error for bad environment variable.
IpOpt type that hold an IP.
ListOpts type that hold a list of values and a validation function.
MapOpts type that holds a map of values and a validation function.
No description provided by the author
# Type aliases
ValidatorFctListType validator that return a validate list of string and/or an error.
ValidatorFctType validator that return a validate string and/or an error.