Documentation ¶
Index ¶
- Constants
- Variables
- func NewAccessKeyCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewCobraLoginCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewDestroyCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewLogoutCobraCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewPasswordCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewPlatformCmd(globalFlags *flags.GlobalFlags) (*cobra.Command, error)
- func NewResetCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewStartCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- type AccessKeyCmd
- type DestroyCmd
- type LoginCmd
- type LogoutCmd
- type PasswordCmd
- type StartCmd
Constants ¶
View Source
const PlatformURL = "VCLUSTER_PLATFORM_URL"
Variables ¶
View Source
var ( ErrNoConfigLoaded = errors.New("no config loaded") ErrNotLoggedIn = errors.New("not logged in") )
Functions ¶
func NewAccessKeyCmd ¶
func NewAccessKeyCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewAccessKeyCmd creates a new command
func NewCobraLoginCmd ¶
func NewCobraLoginCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewDestroyCmd ¶ added in v0.22.0
func NewDestroyCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewLogoutCobraCmd ¶
func NewLogoutCobraCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewPasswordCmd ¶
func NewPasswordCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewPlatformCmd ¶
func NewPlatformCmd(globalFlags *flags.GlobalFlags) (*cobra.Command, error)
func NewResetCmd ¶
func NewResetCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewStartCmd ¶
func NewStartCmd(globalFlags *flags.GlobalFlags) *cobra.Command
Types ¶
type AccessKeyCmd ¶
type AccessKeyCmd struct { *flags.GlobalFlags // deprecated: all of these flags are deprecated Project string // deprecated: all of these flags are deprecated VirtualCluster string // deprecated: all of these flags are deprecated DirectClusterEndpoint bool // contains filtered or unexported fields }
AccessKeyCmd holds the cmd flags
type DestroyCmd ¶ added in v0.22.0
type DestroyCmd struct {
destroy.DeleteOptions
}
type LoginCmd ¶
type LoginCmd struct { *flags.GlobalFlags Log log.Logger Driver string AccessKey string Insecure bool DockerLogin bool }
func NewLoginCmd ¶
func NewLoginCmd(gf *flags.GlobalFlags) LoginCmd
type LogoutCmd ¶
type LogoutCmd struct { *flags.GlobalFlags Log log.Logger }
func NewLogoutCmd ¶
func NewLogoutCmd(gf *flags.GlobalFlags) LogoutCmd
Source Files ¶
Click to show internal directories.
Click to hide internal directories.