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