Documentation ¶
Index ¶
- 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 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 ¶
This section is empty.
Functions ¶
func DnsSearchListVar ¶
func HostListVar ¶
func LabelListVar ¶
func ParseEnvFile ¶
Read in a line delimited file with environment variables enumerated
func UlimitMapVar ¶ added in v0.3.0
func ValidateAttach ¶
func ValidateDnsSearch ¶
Validates domain for resolvconf search configuration. A zero length domain is represented by .
func ValidateEnv ¶
func ValidateExtraHost ¶
func ValidateIPAddress ¶
func ValidateLabel ¶
func ValidateLink ¶
func ValidateMACAddress ¶ added in v0.3.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 UlimitOpt ¶ added in v0.3.0
type UlimitOpt struct {
// contains filtered or unexported fields
}
type ValidatorFctListType ¶
Click to show internal directories.
Click to hide internal directories.