cmdutil

package
v1.11.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagLogLevelKey = "loglevel"
)

Variables

This section is empty.

Functions

func GetLoglevel

func GetLoglevel() string

func InstallKlog

func InstallKlog(cmd *cobra.Command)

func NormalizeNameForEnvVar

func NormalizeNameForEnvVar(name string) string

func ReadFlagsFromEnv

func ReadFlagsFromEnv(prefix string, cmd *cobra.Command) error

func UsageError

func UsageError(cmd *cobra.Command, format string, args ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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