Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapBoolValueAsOpt ¶
MapBoolValueAsOpt will parse key as a command-line option. If only key is specified will be treated as true, otherwise, the value will be parsed and returned. This is useful when command line flags have options. Following examples illustrate this: --security-opt xxx returns true --security-opt xxx=true returns true --security-opt xxx=false returns false --security-opt xxx=invalid returns false and error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.