cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrParsingFlag = errors.New("cannot parse command-line flag")

Functions

func NewServeCommand

func NewServeCommand(ctr *app.Container) *cobra.Command

func NewVersionCommand

func NewVersionCommand(versions map[string]string) *cobra.Command

Types

type RootCommand

type RootCommand struct {
	*cobra.Command
}

func NewRootCommand

func NewRootCommand(versions map[string]string) *RootCommand

type ServeCommandFlags

type ServeCommandFlags struct {
	Kubeconfig string
	Config     string
}

Jump to

Keyboard shortcuts

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