prerun

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 11 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// ErrFatalError -- unrecoverable fatal error
	ErrFatalError chkitErrors.Err = "fatal error"
)

Variables

This section is empty.

Functions

func GetNamespaceByUserfriendlyID

func GetNamespaceByUserfriendlyID(ctx *context.Context, flags *pflag.FlagSet) error

func PreRun

func PreRun(ctx *context.Context) error

func ResolveLabel

func ResolveLabel(ctx *context.Context, label string) (namespace.Namespace, error)

func WithInit

func WithInit(ctx *context.Context, action func(*context.Context) *cobra.Command) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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