cmd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCmd = &cobra.Command{}

	Version     string
	GlobalFlags Flags
)

Functions

func InitPersistentFlags

func InitPersistentFlags(cmd *cobra.Command, flags *Flags)

Types

type Flags

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

func (Flags) FieldSelector

func (f Flags) FieldSelector(args []string) string

func (Flags) Kubeconfig

func (f Flags) Kubeconfig() k8s.Kubeconfig

func (Flags) Label

func (f Flags) Label() string

func (Flags) Logger

func (f Flags) Logger() *slog.Logger

func (Flags) Namespace

func (f Flags) Namespace() string

Jump to

Keyboard shortcuts

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