Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Stdout = colorable.NewColorableStdout() Stderr = colorable.NewColorableStderr() )
Functions ¶
func ResolveSubcommand ¶
func ResolveSubcommand(args []string, config *KubecolorConfig) (bool, *kubectl.SubcommandInfo)
Types ¶
type KubecolorConfig ¶
type KubecolorConfig struct { Plain bool DarkBackground bool ForceColor bool ShowKubecolorVersion bool KubectlCmd string }
func ResolveConfig ¶
func ResolveConfig(args []string) ([]string, *KubecolorConfig)
type KubectlError ¶
type KubectlError struct {
ExitCode int
}
func (*KubectlError) Error ¶
func (ke *KubectlError) Error() string
Click to show internal directories.
Click to hide internal directories.