cmd

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleTableOutputListAll

func HandleTableOutputListAll(ctx context.Context, l logger.Logger, data []provider.ClusterData)

func K9sAccess

func K9sAccess(log logger.Logger)

Types

type CliInstances added in v2.4.0

type CliInstances provider.InstancesRegionOutput

func (CliInstances) S added in v2.4.0

func (I CliInstances) S() map[string]string

type CliRecommendation added in v2.4.0

type CliRecommendation struct {
	// contains filtered or unexported fields
}

type CliRegions added in v2.4.0

type CliRegions provider.RegionsOutput

func (CliRegions) S added in v2.4.0

func (r CliRegions) S() map[string]string

type KsctlCommand

type KsctlCommand struct {
	Ctx    context.Context
	CliLog logger.Logger

	KsctlConfig *config.Config
	// contains filtered or unexported fields
}

func New

func New() (*KsctlCommand, error)

func (*KsctlCommand) Addons

func (k *KsctlCommand) Addons() *cobra.Command

func (*KsctlCommand) CheckForUpdates added in v2.5.5

func (k *KsctlCommand) CheckForUpdates() (bool, error)

func (*KsctlCommand) Cluster

func (k *KsctlCommand) Cluster() *cobra.Command

func (*KsctlCommand) CommandMapping

func (k *KsctlCommand) CommandMapping() error

func (*KsctlCommand) Configure

func (k *KsctlCommand) Configure() *cobra.Command

func (*KsctlCommand) ConfigureCloud

func (k *KsctlCommand) ConfigureCloud() *cobra.Command

func (*KsctlCommand) ConfigureStorage

func (k *KsctlCommand) ConfigureStorage() *cobra.Command

func (*KsctlCommand) ConfigureTelemetry added in v2.1.0

func (k *KsctlCommand) ConfigureTelemetry() *cobra.Command

func (*KsctlCommand) Connect

func (k *KsctlCommand) Connect() *cobra.Command

func (*KsctlCommand) CostOptimizeAcrossRegion added in v2.4.0

func (k *KsctlCommand) CostOptimizeAcrossRegion(inp chan CliRecommendation, meta *controller.Metadata)

func (*KsctlCommand) Create

func (k *KsctlCommand) Create() *cobra.Command

func (*KsctlCommand) Delete

func (k *KsctlCommand) Delete() *cobra.Command

func (*KsctlCommand) DisableAddon

func (k *KsctlCommand) DisableAddon() *cobra.Command

func (*KsctlCommand) EnableAddon

func (k *KsctlCommand) EnableAddon() *cobra.Command

func (*KsctlCommand) Execute

func (k *KsctlCommand) Execute() error

func (*KsctlCommand) ForDocs

func (k *KsctlCommand) ForDocs() (*cobra.Command, error)

func (*KsctlCommand) Get

func (k *KsctlCommand) Get() *cobra.Command

func (*KsctlCommand) List

func (k *KsctlCommand) List() *cobra.Command

func (*KsctlCommand) NewRootCmd

func (k *KsctlCommand) NewRootCmd() *cobra.Command

func (*KsctlCommand) NotifyAvailableUpdates added in v2.5.5

func (k *KsctlCommand) NotifyAvailableUpdates()

func (*KsctlCommand) ScaleDown

func (k *KsctlCommand) ScaleDown() *cobra.Command

func (*KsctlCommand) ScaleUp

func (k *KsctlCommand) ScaleUp() *cobra.Command

func (*KsctlCommand) SelfUpdate

func (k *KsctlCommand) SelfUpdate() *cobra.Command

func (*KsctlCommand) ShellCompletion added in v2.8.0

func (k *KsctlCommand) ShellCompletion() *cobra.Command

func (*KsctlCommand) Summary added in v2.7.0

func (k *KsctlCommand) Summary() *cobra.Command

func (*KsctlCommand) Version

func (k *KsctlCommand) Version() *cobra.Command

Jump to

Keyboard shortcuts

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