package
1.3.2
Repository: https://github.com/mayadata-io/velero.git
Documentation: pkg.go.dev

# Functions

GetOptionalBoolFlag returns the value of the specified flag from a cobra command, or the zero value (false) if the flag was not specified.
GetOptionalStringArrayFlag returns the value of the specified flag from a cobra command, or the zero value if the flag was not specified.
GetOptionalStringFlag returns the value of the specified flag from a cobra command, or the zero value ("") if the flag was not specified.
NewEnum returns a new enum flag with the specified list of allowed values, and the specified default value if none is set.
NewMap returns a Map using the default delimiters ("=" between keys and values, and "," between map entries, e.g.
No description provided by the author
NewStringArray returns a StringArray for a provided slice of values.

# Structs

Enum is a Cobra-compatible wrapper for defining a string flag that can be one of a specified set of values.
LabelSelector is a Cobra-compatible wrapper for defining a Kubernetes label-selector flag.
Map is a Cobra-compatible wrapper for defining a flag containing map data (i.e.
No description provided by the author

# Type aliases

StringArray is a Cobra-compatible named type for defining a string slice flag.