cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdChonk

func NewCmdChonk(streams genericclioptions.IOStreams) *cobra.Command

NewCmdChonk provides a cobra command wrapping ChonkOptions.

Types

type ChonkOptions

type ChonkOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ChonkOptions provides information required to update the current context on a user's KUBECONFIG.

func NewChonkOptions

func NewChonkOptions(streams genericclioptions.IOStreams) *ChonkOptions

NewChonkOptions provides an instance of ChonkOptions with default values.

func (*ChonkOptions) Run

func (o *ChonkOptions) Run() error

Run finds and displays the CPU chonker node(s) and the RAM chonker node(s).

func (*ChonkOptions) Validate

func (o *ChonkOptions) Validate() error

Validate ensures that all required arguments and flag values are provided.

type ChonkerLists

type ChonkerLists struct {
	// contains filtered or unexported fields
}

ChonkerLists keeps track of all "chonkers" for each resource type.

Jump to

Keyboard shortcuts

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