Documentation ¶
Index ¶
- Constants
- func ConfigureFlags(cmd *cobra.Command, connectFlags *ConnectFlags)
- func ConnectRun(opts *ConnectOptions) error
- func NewCmdConnect(f factory.Factory) *cobra.Command
- func PromptForEnablingTenantedDeployments(opts *ConnectOptions, getProjectCallback shared.GetProjectCallback) error
- func PromptMissing(opts *ConnectOptions) error
- type ConnectFlags
- type ConnectOptions
Constants ¶
View Source
const ( FlagTenant = "tenant" FlagProject = "project" FlagEnvironment = "environment" FlagEnableTenantDeployments = "enable-tenant-deployments" FlagAliasEnvironment = "env" )
Variables ¶
This section is empty.
Functions ¶
func ConfigureFlags ¶
func ConfigureFlags(cmd *cobra.Command, connectFlags *ConnectFlags)
func ConnectRun ¶
func ConnectRun(opts *ConnectOptions) error
func PromptForEnablingTenantedDeployments ¶
func PromptForEnablingTenantedDeployments(opts *ConnectOptions, getProjectCallback shared.GetProjectCallback) error
func PromptMissing ¶
func PromptMissing(opts *ConnectOptions) error
Types ¶
type ConnectFlags ¶
type ConnectFlags struct { Tenant *flag.Flag[string] Project *flag.Flag[string] Environments *flag.Flag[[]string] EnableTenantDeployments *flag.Flag[bool] }
func NewConnectFlags ¶
func NewConnectFlags() *ConnectFlags
type ConnectOptions ¶
type ConnectOptions struct { *cmd.Dependencies *ConnectFlags GetAllTenantsCallback shared.GetAllTenantsCallback GetAllProjectsCallback shared.GetAllProjectsCallback GetProjectCallback shared.GetProjectCallback GetProjectProgressionCallback shared.GetProjectProgression }
func NewConnectOptions ¶
func NewConnectOptions(connectFlags *ConnectFlags, dependencies *cmd.Dependencies) *ConnectOptions
Click to show internal directories.
Click to hide internal directories.