Documentation
¶
Index ¶
- Constants
- func GetNamespaceByUserfriendlyID(ctx *context.Context, flags *pflag.FlagSet) error
- func PreRun(ctx *context.Context, optional ...Config) error
- func PreRunFunc(ctx *context.Context, optional ...Config) func(cmd *cobra.Command, args []string)
- func ResolveLabel(ctx *context.Context, label string) (namespace.Namespace, error)
- func WithInit(ctx *context.Context, action func(*context.Context) *cobra.Command) *cobra.Command
- type Config
Constants ¶
View Source
const ( // ErrFatalError -- unrecoverable fatal error ErrFatalError chkitErrors.Err = "fatal error" )
Variables ¶
This section is empty.
Functions ¶
func PreRunFunc ¶
func ResolveLabel ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.