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) AddEditGroupFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddEditServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddEditUserFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddEnvironmentFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddGlobalFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddIAMListFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddJWTServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddLogsFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddMarketplaceApplyFlags(cmd *cobra.Command)
- func (o *CLIOptions) AddMarketplaceItemIDFlag(flags *pflag.FlagSet) (flagName string)
- func (o *CLIOptions) AddMarketplaceItemObjectIDFlag(flags *pflag.FlagSet) (flagName string)
- func (o *CLIOptions) AddMarketplaceVersionFlag(flags *pflag.FlagSet) (flagName string)
- func (o *CLIOptions) AddNewMembersToGroupFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddNewUserFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddOutputFormatFlag(flags *pflag.FlagSet, defaultVal string)
- func (o *CLIOptions) AddProjectFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddRemoveGroupFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddRemoveMembersFromGroupFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddRemoveServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddRemoveUserFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) AddServiceAccountFlags(flags *pflag.FlagSet)
- func (o *CLIOptions) CreateNewGroupFlags(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 Endpoint string Insecure bool CAFile string Context string Auth string ProjectID string CompanyID string Environment string Revision string DeployType string NoSemVer bool IAMRole string UserEmail string UserID string KeepUserGroupMemeberships bool UserEmails []string UserIDs []string GroupID string ServiceAccountID string BasicClientID string BasicClientSecret string JWTJsonPath string OutputPath string MarketplaceResourcePaths []string // MarketplaceItemID is the itemId field of a Marketplace item MarketplaceItemID string // MarketplaceItemVersion is the version field of a Marketplace item MarketplaceItemVersion string // MarketplaceItemObjectID is the _id of a Marketplace item MarketplaceItemObjectID string FromCronJob string FollowLogs bool // OutputFormat describes the output format of some commands. Can be json or yaml. OutputFormat string ShowUsers bool ShowGroups bool ShowServiceAccounts bool }
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) AddEditGroupFlags ¶ added in v0.11.0
func (o *CLIOptions) AddEditGroupFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddEditServiceAccountFlags ¶ added in v0.11.0
func (o *CLIOptions) AddEditServiceAccountFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddEditUserFlags ¶ added in v0.11.0
func (o *CLIOptions) AddEditUserFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddEnvironmentFlags ¶ added in v0.9.0
func (o *CLIOptions) AddEnvironmentFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddGlobalFlags ¶
func (o *CLIOptions) AddGlobalFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddIAMListFlags ¶ added in v0.10.0
func (o *CLIOptions) AddIAMListFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddJWTServiceAccountFlags ¶ added in v0.7.0
func (o *CLIOptions) AddJWTServiceAccountFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddLogsFlags ¶ added in v0.9.0
func (o *CLIOptions) AddLogsFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddMarketplaceApplyFlags ¶ added in v0.8.0
func (o *CLIOptions) AddMarketplaceApplyFlags(cmd *cobra.Command)
func (*CLIOptions) AddMarketplaceItemIDFlag ¶ added in v0.10.0
func (o *CLIOptions) AddMarketplaceItemIDFlag(flags *pflag.FlagSet) (flagName string)
func (*CLIOptions) AddMarketplaceItemObjectIDFlag ¶ added in v0.10.0
func (o *CLIOptions) AddMarketplaceItemObjectIDFlag(flags *pflag.FlagSet) (flagName string)
func (*CLIOptions) AddMarketplaceVersionFlag ¶ added in v0.10.0
func (o *CLIOptions) AddMarketplaceVersionFlag(flags *pflag.FlagSet) (flagName string)
func (*CLIOptions) AddNewMembersToGroupFlags ¶ added in v0.11.0
func (o *CLIOptions) AddNewMembersToGroupFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddNewUserFlags ¶ added in v0.11.0
func (o *CLIOptions) AddNewUserFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddOutputFormatFlag ¶ added in v0.10.0
func (o *CLIOptions) AddOutputFormatFlag(flags *pflag.FlagSet, defaultVal string)
func (*CLIOptions) AddProjectFlags ¶
func (o *CLIOptions) AddProjectFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddRemoveGroupFlags ¶ added in v0.11.0
func (o *CLIOptions) AddRemoveGroupFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddRemoveMembersFromGroupFlags ¶ added in v0.11.0
func (o *CLIOptions) AddRemoveMembersFromGroupFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddRemoveServiceAccountFlags ¶ added in v0.11.0
func (o *CLIOptions) AddRemoveServiceAccountFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddRemoveUserFlags ¶ added in v0.11.0
func (o *CLIOptions) AddRemoveUserFlags(flags *pflag.FlagSet)
func (*CLIOptions) AddServiceAccountFlags ¶ added in v0.6.0
func (o *CLIOptions) AddServiceAccountFlags(flags *pflag.FlagSet)
func (*CLIOptions) CreateNewGroupFlags ¶ added in v0.11.0
func (o *CLIOptions) CreateNewGroupFlags(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.