arguments

package
v0.1.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBodyFlag

func AddBodyFlag(fs *pflag.FlagSet, value *string)

AddBodyFlag adds the '--body' flag to the given set of command line flags.

func AddCCSFlags added in v0.1.45

func AddCCSFlags(fs *pflag.FlagSet, value *cluster.CCS)

AddCCSFlags adds all the flags needed for creating a cluster.

func AddCCSFlagsWithoutAccountID added in v0.1.45

func AddCCSFlagsWithoutAccountID(fs *pflag.FlagSet, value *cluster.CCS)

AddCCSFlagsWithoutAccountID is sufficient for list regions command.

func AddDebugFlag

func AddDebugFlag(fs *pflag.FlagSet)

AddDebugFlag adds the '--debug' flag to the given set of command line flags.

func AddHeaderFlag

func AddHeaderFlag(fs *pflag.FlagSet, values *[]string)

AddHeaderFlag adds the '--header' flag to the given set of command line flags.

func AddParameterFlag

func AddParameterFlag(fs *pflag.FlagSet, values *[]string)

AddParameterFlag adds the '--parameter' flag to the given set of command line flags.

func AddProviderFlag added in v0.1.45

func AddProviderFlag(fs *pflag.FlagSet, value *string)

func ApplyBodyFlag

func ApplyBodyFlag(request *sdk.Request, value string) error

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

func ApplyPathArg(request *sdk.Request, value string) error

ApplyPathArg applies the value of the path given in the command line to the given request.

func CheckIgnoredCCSFlags added in v0.1.45

func CheckIgnoredCCSFlags(ccs cluster.CCS) error

CheckIgnoredCCSFlags errors if --aws-... were used without --ccs.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL