Documentation ¶
Index ¶
- Variables
- func DnsSearchListVar(values *[]string, names []string, usage string)
- func HostListVar(values *[]string, names []string, usage string)
- func IPListVar(values *[]string, names []string, usage string)
- func IPVar(value *net.IP, names []string, defaultValue, usage string)
- func LabelListVar(values *[]string, names []string, usage string)
- func ListVar(values *[]string, names []string, usage string)
- func ParseEnvFile(filename string) ([]string, error)
- func UlimitMapVar(values map[string]*ulimit.Ulimit, names []string, usage string)
- func ValidateAttach(val string) (string, error)
- func ValidateDnsSearch(val string) (string, error)
- func ValidateEnv(val string) (string, error)
- func ValidateExtraHost(val string) (string, error)
- func ValidateHost(val string) (string, error)
- func ValidateIPAddress(val string) (string, error)
- func ValidateLabel(val string) (string, error)
- func ValidateLink(val string) (string, error)
- func ValidateMACAddress(val string) (string, error)
- func ValidatePath(val string) (string, error)
- type ErrBadEnvVariable
- type IpOpt
- type ListOpts
- type UlimitOpt
- type ValidatorFctListType
- type ValidatorFctType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultHTTPHost = "127.0.0.1" // Default HTTP Host used if only port is provided to -H flag e.g. docker -d -H tcp://:8080 DefaultUnixSocket = "/var/run/docker.sock" // Docker daemon by default always listens on the default unix socket )
Functions ¶
func DnsSearchListVar ¶
func HostListVar ¶
func LabelListVar ¶
func ParseEnvFile ¶
Read in a line delimited file with environment variables enumerated
func UlimitMapVar ¶
func ValidateAttach ¶
func ValidateDnsSearch ¶
Validates domain for resolvconf search configuration. A zero length domain is represented by .
func ValidateEnv ¶
func ValidateExtraHost ¶
func ValidateHost ¶
func ValidateIPAddress ¶
func ValidateLabel ¶
func ValidateLink ¶
func ValidateMACAddress ¶
func ValidatePath ¶
Types ¶
type ErrBadEnvVariable ¶
type ErrBadEnvVariable struct {
// contains filtered or unexported fields
}
func (ErrBadEnvVariable) Error ¶
func (e ErrBadEnvVariable) Error() string
type ListOpts ¶
type ListOpts struct {
// contains filtered or unexported fields
}
ListOpts type
func NewListOpts ¶
func NewListOpts(validator ValidatorFctType) ListOpts
func (*ListOpts) GetMap ¶
GetMap returns the content of values in a map in order to avoid duplicates. FIXME: can we remove this?
type ValidatorFctListType ¶
Click to show internal directories.
Click to hide internal directories.