Documentation
¶
Index ¶
- type CLIOptions
- func (o *CLIOptions) AddAuthFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddCompanyFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddConnectionFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddContextAuthFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddContextFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddCreateJobFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddDeployFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddGlobalFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddJWTServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddMarketplaceApplyFlags(cmd *cobra.Command)
- func (o *CLIOptions) AddProjectFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) ToRESTConfig() (*client.Config, error)
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)
Click to show internal directories.
Click to hide internal directories.