Documentation
¶
Index ¶
- Variables
- func NewGenerateCmd() *cobra.Command
- func NewGenerateKubeConfigCmd() *cobra.Command
- func NewPasswordCmd(globalFlags *loftctlflags.GlobalFlags) *cobra.Command
- func NewProCmd(globalFlags *flags.GlobalFlags) (*cobra.Command, error)
- func NewResetCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) *cobra.Command
- func NewStartCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) (*cobra.Command, error)
- func NewTokenCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- type GenerateKubeConfigCmd
- type StartCmd
- type TokenCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConfigLoaded = errors.New("no config loaded") ErrNotLoggedIn = errors.New("not logged in") )
Functions ¶
func NewGenerateCmd ¶
func NewGenerateKubeConfigCmd ¶
NewGenerateKubeConfigCmd creates a new command
func NewPasswordCmd ¶
func NewPasswordCmd(globalFlags *loftctlflags.GlobalFlags) *cobra.Command
func NewResetCmd ¶
func NewResetCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) *cobra.Command
func NewStartCmd ¶
func NewStartCmd(loftctlGlobalFlags *loftctlflags.GlobalFlags) (*cobra.Command, error)
func NewTokenCmd ¶ added in v0.19.2
func NewTokenCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewTokenCmd creates a new command
Types ¶
type GenerateKubeConfigCmd ¶
type GenerateKubeConfigCmd struct { Namespace string ServiceAccount string // contains filtered or unexported fields }
GenerateKubeConfigCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.