package
3.6.0-alpha.0
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# Functions

FlagToEnv converts flag string to upper-case environment variable key string.
NewSelectiveStringsValue creates a new string slice flag for which any one of the given strings is a valid value, and any other value is an error.
NewSelectiveStringValue creates a new string flag for which any one of the given strings is a valid value, and any other value is an error.
NewStringsValue implements string slice as "flag.Value" interface.
NewUniqueStringsValue implements string slice as "flag.Value" interface.
NewUniqueURLsWithExceptions implements "url.URL" slice as flag.Value interface.
NewURLsValue implements "url.URL" slice as flag.Value interface.
SetFlagsFromEnv parses all registered flags in the given flagset, and if they are not already set it attempts to set their values from environment variables.
SetPflagsFromEnv is similar to SetFlagsFromEnv.
StringsFromFlag returns a string slice from the flag.
UniqueStringsFromFlag returns a string slice from the flag.
UniqueStringsMapFromFlag returns a map of strings from the flag.
UniqueURLsFromFlag returns a slice from urls got from the flag.
UniqueURLsMapFromFlag returns a map from url strings got from the flag.
URLsFromFlag returns a slices from url got from the flag.

# Structs

IgnoredFlag encapsulates a flag that may have been previously valid but is now ignored.
SelectiveStringsValue implements the flag.Value interface.
SelectiveStringValue implements the flag.Value interface.
UniqueStringsValue wraps a list of unique strings.
UniqueURLs contains unique URLs with non-URL exceptions.

# Type aliases

StringsValue wraps "sort.StringSlice".
URLsValue wraps "types.URLs".