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.
Click to show internal directories.
Click to hide internal directories.