Versions in this module Expand all Collapse all v0 v0.3.0 Feb 13, 2025 Changes in this version + const CommandName + const DefaultErrorExitCode + func Fatal(err error, code int) + func GetClientConfig(cmd *cobra.Command) (clientcmd.ClientConfig, error) + func GetCronDynamicConfig(cmd *cobra.Command) *configv1alpha1.CronExecutionConfig + func GetCtrlContext() controllercontext.Context + func GetDynamicConfig(ctx context.Context, cmd *cobra.Command, name configv1alpha1.ConfigName, ...) error + func GetFlagBool(cmd *cobra.Command, flag string) bool + func GetFlagBoolIfExists(cmd *cobra.Command, flag string) (val bool, ok bool) + func GetFlagInt64(cmd *cobra.Command, flag string) int64 + func GetFlagString(cmd *cobra.Command, flag string) string + func GetKubeConfig(cmd *cobra.Command) (*rest.Config, error) + func GetNamespace(cmd *cobra.Command) (string, error) + func GetOutputFormat(cmd *cobra.Command) printer.OutputFormat + func NewContext(cmd *cobra.Command) (controllercontext.Context, error) + func PrepareExample(example string) string + func PrerunWithKubeconfig(cmd *cobra.Command, _ []string) error + func SetCtrlContext(cc controllercontext.Context) + func SetupCtrlContext(cmd *cobra.Command) error + type RunEFunc func(cmd *cobra.Command, args []string) error + func RunAllE(funcs ...RunEFunc) RunEFunc