Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedOutputFormats = []string{"table", "json", "yaml", "name"}
Functions ¶
Types ¶
type Config ¶ added in v1.0.0
type Config struct { KubeConfig string KubeContext string Namespace string Labels string OutputFormat string AllNamespaces bool CheckCPU bool CheckMemory bool }
func (*Config) SetCheckCPU ¶ added in v1.0.0
func (c *Config) SetCheckCPU()
func (*Config) SetCheckMemory ¶ added in v1.0.0
func (c *Config) SetCheckMemory()
func (*Config) SetNamespace ¶ added in v1.0.0
func (c *Config) SetNamespace(clientconfig clientcmd.ClientConfig) error
Click to show internal directories.
Click to hide internal directories.