util

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NebulaClusterResourceType = "nebulacluster"

Variables

View Source
var (
	NewMatchVersionFlags = kcmdutil.NewMatchVersionFlags
	CheckErr             = kcmdutil.CheckErr
	UsageErrorf          = kcmdutil.UsageErrorf
)

Functions

func IsErNotSpecified

func IsErNotSpecified(err error) bool

Types

type Factory

type Factory interface {
	kcmdutil.Factory

	AddFlags(cmd *cobra.Command)
	ToRuntimeClient() (client.Client, error)
	GetNebulaClusterNameAndNamespace(withUseConfig bool, args []string) (string, string, error)
	GetNebulaClusterNamesAndNamespace(withUseConfig bool, args []string) ([]string, string, error)
	GetNebulaClusterConfigFile() (string, error)
}

func NewFactory

func NewFactory(clientGetter genericclioptions.RESTClientGetter) Factory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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