cmd

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string
View Source
var RootCmd = &cobra.Command{
	Use:   "ksctl",
	Short: "CLI tool for managing multiple K8s clusters",
	Long:  LongMessage("CLI tool which can manage multiple K8s clusters from local clusters to cloud provider specific clusters."),
}
View Source
var Version string = "dev"

change this using ldflags

Functions

func AllFeatures

func AllFeatures()

func Execute

func Execute()

func K9sAccess added in v1.3.0

func K9sAccess(log types.LoggerFactory)

func LongMessage added in v1.3.0

func LongMessage(message string) string

func SetDefaults

func SetDefaults(provider consts.KsctlCloud, clusterType consts.KsctlClusterType)

func SetRequiredFeatureFlags

func SetRequiredFeatureFlags(ctx context.Context, log types.LoggerFactory, cmd *cobra.Command)

Types

type CobraCmd

type CobraCmd struct {
	ClusterName string
	Region      string
	Client      types.KsctlClient
	Version     string
}

Jump to

Keyboard shortcuts

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