Documentation ¶
Index ¶
- func DescriptionFilterSetFlagVar(f *pflag.FlagSet, s *types.DescriptionFilterSet, name string, usage string)
- func DescriptionFilterSetFlagVarP(f *pflag.FlagSet, s *types.DescriptionFilterSet, name, shorthand string, ...)
- func NetAddressArrayFlagVar(f *pflag.FlagSet, s *[]modules.NetAddress, name string, usage string)
- func NetAddressArrayFlagVarP(f *pflag.FlagSet, s *[]modules.NetAddress, name, shorthand string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescriptionFilterSetFlagVar ¶
func DescriptionFilterSetFlagVar(f *pflag.FlagSet, s *types.DescriptionFilterSet, name string, usage string)
DescriptionFilterSetFlagVar defines a DescriptionFilterSet flag with specified name, shorthand and usage string. The argument s points to a DescriptionFilterSet variable in which to store the compiled values of the multiple flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name).
func DescriptionFilterSetFlagVarP ¶
func DescriptionFilterSetFlagVarP(f *pflag.FlagSet, s *types.DescriptionFilterSet, name, shorthand string, usage string)
DescriptionFilterSetFlagVarP defines a DescriptionFilterSet flag with specified name, and usage string. The argument s points to a DescriptionFilterSet variable in which to store the compiled values of the multiple flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name or shorthand).
func NetAddressArrayFlagVar ¶ added in v0.3.0
NetAddressArrayFlagVar defines a []modules.NetAddress flag with specified name and usage string. The argument s points to a []modules.NetAddress variable in which to store the validated values of the flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name).
func NetAddressArrayFlagVarP ¶ added in v0.3.0
func NetAddressArrayFlagVarP(f *pflag.FlagSet, s *[]modules.NetAddress, name, shorthand string, usage string)
NetAddressArrayFlagVarP defines a []modules.NetAddress flag with specified name, shorthand and usage string. The argument s points to a []modules.NetAddress variable in which to store the validated values of the flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name or shorthand).
Types ¶
This section is empty.