Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdScalePct ¶
NewCmdScalePct provides a cobra command wrapping ScalePctOptions
Types ¶
type ScalePctOptions ¶
type ScalePctOptions struct { PrintObj printers.ResourcePrinterFunc PrintFlags *genericclioptions.PrintFlags Percentage int All bool genericclioptions.IOStreams // contains filtered or unexported fields }
ScalePctOptions provides information required to update the current context on a user's KUBECONFIG
func NewScalePctOptions ¶
func NewScalePctOptions(streams genericclioptions.IOStreams) *ScalePctOptions
NewScalePctOptions provides an instance of ScalePctOptions with default values
func (*ScalePctOptions) Complete ¶
Complete sets all information required for updating the current context
func (*ScalePctOptions) Run ¶
func (o *ScalePctOptions) Run() error
Run lists all available namespaces on a user's KUBECONFIG or updates the current context based on a provided namespace.
func (*ScalePctOptions) Validate ¶
func (o *ScalePctOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.