cmd

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	Version     string
	GlobalFlags Flags
)

Functions

func GetRegistries added in v1.0.8

func GetRegistries() api.Registries

func InitPersistentFlags added in v1.0.7

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

func PrintGet added in v1.0.7

func PrintGet(logger *slog.Logger, registries api.Registries)

func PrintList added in v1.0.7

func PrintList(logger *slog.Logger, registries api.Registries)

Types

type Flags added in v1.0.7

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

func (Flags) KubeconfigPath added in v1.0.7

func (f Flags) KubeconfigPath() string

func (Flags) Logger added in v1.0.7

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

func (Flags) Namespace added in v1.0.7

func (f Flags) Namespace() string

Jump to

Keyboard shortcuts

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