Documentation ¶
Index ¶
- func AddBodyFlag(fs *pflag.FlagSet, value *string)
- func AddDebugFlag(fs *pflag.FlagSet)
- func AddHeaderFlag(fs *pflag.FlagSet, values *[]string)
- func AddParameterFlag(fs *pflag.FlagSet, values *[]string)
- func ApplyBodyFlag(request *sdk.Request, value string) error
- func ApplyHeaderFlag(request interface{}, values []string)
- func ApplyParameterFlag(request interface{}, values []string)
- func ApplyPathArg(request *sdk.Request, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBodyFlag ¶
AddBodyFlag adds the '--body' flag to the given set of command line flags.
func AddDebugFlag ¶
AddDebugFlag adds the '--debug' flag to the given set of command line flags.
func AddHeaderFlag ¶
AddHeaderFlag adds the '--header' flag to the given set of command line flags.
func AddParameterFlag ¶
AddParameterFlag adds the '--parameter' flag to the given set of command line flags.
func ApplyBodyFlag ¶
ApplyBodyFlag applies the value of the '--body' command line flag to the given request.
func ApplyHeaderFlag ¶
func ApplyHeaderFlag(request interface{}, values []string)
ApplyHeaderFlag applies the value of the '--header' command line flag to the given request.
func ApplyParameterFlag ¶
func ApplyParameterFlag(request interface{}, values []string)
ApplyParameterFlag applies the value of the '--parameter' command line flag to the given request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.