Documentation
¶
Index ¶
- func AddBodyFlag(fs *pflag.FlagSet, value *string)
- func AddCCSFlags(fs *pflag.FlagSet, value *cluster.CCS)
- func AddCCSFlagsWithoutAccountID(fs *pflag.FlagSet, value *cluster.CCS)
- func AddDebugFlag(fs *pflag.FlagSet)
- func AddHeaderFlag(fs *pflag.FlagSet, values *[]string)
- func AddParameterFlag(fs *pflag.FlagSet, values *[]string)
- func AddProviderFlag(fs *pflag.FlagSet, value *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
- func CheckIgnoredCCSFlags(ccs cluster.CCS) 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 AddCCSFlags ¶ added in v0.1.45
AddCCSFlags adds all the flags needed for creating a cluster.
func AddCCSFlagsWithoutAccountID ¶ added in v0.1.45
AddCCSFlagsWithoutAccountID is sufficient for list regions command.
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 AddProviderFlag ¶ added in v0.1.45
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.
func ApplyPathArg ¶
ApplyPathArg applies the value of the path given in the command line to the given request.
func CheckIgnoredCCSFlags ¶ added in v0.1.45
CheckIgnoredCCSFlags errors if --aws-... were used without --ccs.
Types ¶
This section is empty.