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 *Config) (bool, *kubectl.SubcommandInfo)
Types ¶
type Config ¶ added in v0.3.0
type Config struct { Plain bool ForceColor bool ShowKubecolorVersion bool KubectlCmd string StdinOverride string ObjFreshThreshold time.Duration Theme *config.Theme ArgsPassthrough []string }
func ResolveConfig ¶
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.