unlimited

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedOutputFormats = []string{"table", "json", "yaml", "name"}

Functions

func Show added in v1.0.1

func Show(c *Config)

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

func (*Config) Validate added in v1.0.0

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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