pro

package
v0.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

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 NewGenerateCmd() *cobra.Command

func NewGenerateKubeConfigCmd

func NewGenerateKubeConfigCmd() *cobra.Command

NewGenerateKubeConfigCmd creates a new command

func NewPasswordCmd

func NewPasswordCmd(globalFlags *loftctlflags.GlobalFlags) *cobra.Command

func NewProCmd

func NewProCmd(globalFlags *flags.GlobalFlags) (*cobra.Command, error)

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

func (*GenerateKubeConfigCmd) Run

Run executes the command

type StartCmd

type StartCmd struct {
	start.Options
}

func (*StartCmd) Run

func (cmd *StartCmd) Run(ctx context.Context) error

type TokenCmd added in v0.19.2

type TokenCmd struct {
	*flags.GlobalFlags
	Project               string
	VirtualCluster        string
	DirectClusterEndpoint bool
	// contains filtered or unexported fields
}

TokenCmd holds the cmd flags

func (*TokenCmd) Run added in v0.19.2

func (cmd *TokenCmd) Run() error

Run executes the command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL