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 ListVar(values *[]string, names []string, usage string)
- func ParseEnvFile(filename string) ([]string, error)
- func ValidateAttach(val string) (string, error)
- func ValidateDnsSearch(val string) (string, error)
- func ValidateEnv(val string) (string, error)
- func ValidateIPAddress(val string) (string, error)
- func ValidateLink(val string) (string, error)
- func ValidatePath(val string) (string, error)
- type ErrBadEnvVariable
- type IpOpt
- type ListOpts
- type ValidatorFctType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DnsSearchListVar ¶
func HostListVar ¶
func ParseEnvFile ¶
Read in a line delimited file with environment variables enumerated
func ValidateAttach ¶
func ValidateDnsSearch ¶
Validates domain for resolvconf search configuration. A zero length domain is represented by .
func ValidateEnv ¶
func ValidateIPAddress ¶
func ValidateLink ¶
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?
Click to show internal directories.
Click to hide internal directories.