cmd

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	Version     string
	GlobalFlags Flags
)

Functions

func GetRegistriesAndNodes added in v1.0.7

func GetRegistriesAndNodes() (api.Registries, api.Nodes)

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, nodes api.Nodes)

func PrintList added in v1.0.7

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

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

func (Flags) Size added in v1.0.7

func (f Flags) Size() bool

Jump to

Keyboard shortcuts

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