Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAutoscale ¶
NewCmdAutoscale returns the autoscale Cobra command
Types ¶
type AutoscaleOptions ¶
type AutoscaleOptions struct { FilenameOptions *resource.FilenameOptions RecordFlags *genericclioptions.RecordFlags Recorder genericclioptions.Recorder PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Name string Min int32 Max int32 CPUPercent int32 HPAClient autoscalingv1client.HorizontalPodAutoscalersGetter genericclioptions.IOStreams // contains filtered or unexported fields }
AutoscaleOptions declares the arguments accepted by the Autoscale command
func NewAutoscaleOptions ¶
func NewAutoscaleOptions(ioStreams genericclioptions.IOStreams) *AutoscaleOptions
NewAutoscaleOptions creates the options for autoscale
func (*AutoscaleOptions) Complete ¶
Complete verifies command line arguments and loads data from the command environment
func (*AutoscaleOptions) Validate ¶
func (o *AutoscaleOptions) Validate() error
Validate checks that the provided attach options are specified.
Click to show internal directories.
Click to hide internal directories.