cli

package
v0.0.0-...-ca44064 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeConfigFlag     = "kubeconfig"
	ContextFlag        = "context"
	NamespaceFlag      = "namespace"
	DubboNamespaceFlag = "dubbo-namespace"
	ChartFlag          = "charts"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	CLIClient() (kube.CLIClient, error)
}

func NewCLIContext

func NewCLIContext(rootFlags *RootFlags) Context

type RootFlags

type RootFlags struct {
	Context *string
	// contains filtered or unexported fields
}

func AddRootFlags

func AddRootFlags(flags *pflag.FlagSet) *RootFlags

Jump to

Keyboard shortcuts

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