clioptions

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIOptions

type CLIOptions struct {
	MiactlConfig string
	Verbose      bool

	Endpoint string
	Insecure bool
	CAFile   string

	Context   string
	Auth      string
	ProjectID string
	CompanyID string

	Revision   string
	DeployType string
	NoSemVer   bool

	BasicClientID     string
	BasicClientSecret string
	JWTJsonPath       string

	ServiceAccountRole string
	OutputPath         string

	MarketplaceResourcePaths []string

	FromCronJob string
}

func NewCLIOptions

func NewCLIOptions() *CLIOptions

NewCLIOptions return a new CLIOptions instance

func (*CLIOptions) AddAuthFlags added in v0.6.1

func (o *CLIOptions) AddAuthFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddCompanyFlags

func (o *CLIOptions) AddCompanyFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddConnectionFlags

func (o *CLIOptions) AddConnectionFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddContextAuthFlags added in v0.7.0

func (o *CLIOptions) AddContextAuthFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddContextFlags

func (o *CLIOptions) AddContextFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddCreateJobFlags added in v0.8.0

func (o *CLIOptions) AddCreateJobFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddDeployFlags

func (o *CLIOptions) AddDeployFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddGlobalFlags

func (o *CLIOptions) AddGlobalFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddJWTServiceAccountFlags added in v0.7.0

func (o *CLIOptions) AddJWTServiceAccountFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddMarketplaceApplyFlags added in v0.8.0

func (o *CLIOptions) AddMarketplaceApplyFlags(cmd *cobra.Command)

func (*CLIOptions) AddProjectFlags

func (o *CLIOptions) AddProjectFlags(flags *pflag.FlagSet)

func (*CLIOptions) AddServiceAccountFlags added in v0.6.0

func (o *CLIOptions) AddServiceAccountFlags(flags *pflag.FlagSet)

func (*CLIOptions) ToRESTConfig added in v0.6.0

func (o *CLIOptions) ToRESTConfig() (*client.Config, error)

Jump to

Keyboard shortcuts

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