Documentation ¶ Index ¶ func Execute() error func SetLogLevel(ctx context.Context, lookupEnv func(string) (string, bool)) (plog.Logger, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() error Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. func SetLogLevel ¶ added in v0.8.0 func SetLogLevel(ctx context.Context, lookupEnv func(string) (string, bool)) (plog.Logger, error) Types ¶ This section is empty. Source Files ¶ View all Source files cobra_util.go flag_types.go generate_markdown_help.go get.go kube_util.go kubeconfig.go login.go login_oidc.go login_static.go root.go version.go whoami.go Click to show internal directories. Click to hide internal directories.