platform

package
v0.20.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 41 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 NewAccessKeyCmd

func NewAccessKeyCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewAccessKeyCmd creates a new 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

	Project               string
	VirtualCluster        string
	DirectClusterEndpoint bool
	// contains filtered or unexported fields
}

AccessKeyCmd holds the cmd flags

func (*AccessKeyCmd) Run

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

Run executes the command

type PasswordCmd

type PasswordCmd struct {
	*flags.GlobalFlags

	User     string
	Password string
	Create   bool
	Force    bool

	Log log.Logger
}

func (*PasswordCmd) Run

func (cmd *PasswordCmd) Run() error

Run executes the functionality

type StartCmd

type StartCmd struct {
	start.Options
}

func (*StartCmd) Run

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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