cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KubeChangeCmd = &cobra.Command{
		Use:   "kch [flags] [context]",
		Short: "Change kube context.",
		Long:  "Change kube context. If kch has been configured, may open k9s by default to a specific resource type and namespace.",
		Example: `
# Set context with flag
acli kch CONTEXT_NAME

# Set the context with the help of an interactive prompt
acli kch

# Set the context with the help of an interactive prompt and open K9s to deployments in the
# default namespace
acli kch -r deploy

# Set the context with the help of an interactive prompt and open K9s to pods in the kube-system
# namespace
acli kch -r po -n kube-system
		`,
		Version:      "2.2.1",
		RunE:         runE,
		SilenceUsage: true,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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