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 LogOptsVar(values map[string]string, names []string, usage string)
- func MapVar(values map[string]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 ValidateLogOpts(val string) (string, error)
- func ValidateMACAddress(val string) (string, error)
- func ValidatePath(val string) (string, error)
- type ErrBadEnvVariable
- type IpOpt
- type ListOpts
- type MapOpts
- 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 // TODO Windows. DefaultHTTPPort is only used on Windows if a -H parameter // is not supplied. A better longer term solution would be to use a named // pipe as the default on the Windows daemon. DefaultHTTPPort = 2375 // Default HTTP Port DefaultUnixSocket = "/var/run/docker.sock" // Docker daemon by default always listens on the default unix socket )
Functions ¶
func DnsSearchListVar ¶ added in v1.2.0
func HostListVar ¶ added in v1.2.0
func LabelListVar ¶ added in v1.4.0
func LogOptsVar ¶ added in v1.7.0
func ParseEnvFile ¶
Read in a line delimited file with environment variables enumerated
func UlimitMapVar ¶ added in v1.6.0
func ValidateAttach ¶
func ValidateDnsSearch ¶ added in v1.2.0
Validates domain for resolvconf search configuration. A zero length domain is represented by .
func ValidateEnv ¶
func ValidateExtraHost ¶ added in v1.3.0
func ValidateHost ¶ added in v1.7.0
func ValidateIPAddress ¶ added in v1.2.0
func ValidateLabel ¶ added in v1.4.0
func ValidateLink ¶
func ValidateLogOpts ¶
func ValidateMACAddress ¶ added in v1.6.0
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 MapOpts ¶ added in v1.7.0
type MapOpts struct {
// contains filtered or unexported fields
}
MapOpts type
type UlimitOpt ¶ added in v1.6.0
type UlimitOpt struct {
// contains filtered or unexported fields
}
type ValidatorFctListType ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.