 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlags ¶
func RegisterFlags(cmd *cobra.Command, flags ...FlagRegisterer) error
Types ¶
type CommandExitCode ¶
type CommandExitCode struct {
	ExitCode int
}
    func (CommandExitCode) Error ¶
func (c CommandExitCode) Error() string
type Deployment ¶
type Deployment interface {
	FlagRegisterer
	Connection(cmd *cobra.Command) (driver.Connection, error)
	Authentication(cmd *cobra.Command) (driver.Authentication, error)
}
    func NewDeployment ¶
func NewDeployment(prefix string) Deployment
type Flag ¶
type Flag[T any] struct { Name string Short string Description string Default T Persistent bool Check func(in T) error Deprecated *string Hidden bool }
func (Flag[T]) AsInterface ¶
func (f Flag[T]) AsInterface() FlagInterface[T]
type FlagInterface ¶
type FlagInterface[T any] interface { FlagRegisterer Get(cmd *cobra.Command) (T, error) }
type FlagRegisterer ¶
type LicenseManager ¶
type LicenseManager interface {
	FlagRegisterer
	Endpoint(cmd *cobra.Command) (string, error)
	Stages(cmd *cobra.Command) ([]string, error)
	ClientID(cmd *cobra.Command) (string, error)
	ClientSecret(cmd *cobra.Command) (string, error)
	Client(cmd *cobra.Command) (manager.Client, error)
}
    func NewLicenseManager ¶
func NewLicenseManager(prefix string) LicenseManager
type RunE ¶
func ValidateFlags ¶
func ValidateFlags(flags ...FlagRegisterer) RunE
 Click to show internal directories. 
   Click to hide internal directories.