Versions in this module Expand all Collapse all v1 v1.14.0-rc.1 Mar 19, 2019 v1.13.9 Aug 1, 2019 v1.13.3 Feb 1, 2019 Changes in this version + func NewCmdScale(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func ScaleJob(info *resource.Info, jobsClient batchclient.JobsGetter, count uint, ...) error + type JobPsuedoScaler struct + JobsClient batchclient.JobsGetter + func (scaler *JobPsuedoScaler) Scale(namespace, name string, newSize uint, preconditions *ScalePrecondition, ...) error + func (scaler *JobPsuedoScaler) ScaleSimple(namespace, name string, preconditions *ScalePrecondition, newSize uint) (string, error) + type PreconditionError struct + ActualValue string + ExpectedValue string + Precondition string + func (pe PreconditionError) Error() string + type RetryParams struct + Interval time.Duration + Timeout time.Duration + type ScaleOptions struct + All bool + CurrentReplicas int + FilenameOptions resource.FilenameOptions + PrintFlags *genericclioptions.PrintFlags + PrintObj printers.ResourcePrinterFunc + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + Replicas int + ResourceVersion string + Selector string + Timeout time.Duration + func NewScaleOptions(ioStreams genericclioptions.IOStreams) *ScaleOptions + func (o *ScaleOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ScaleOptions) RunScale() error + func (o *ScaleOptions) Validate(cmd *cobra.Command) error + type ScalePrecondition struct + ResourceVersion string + Size int v1.13.2-beta.0 Dec 13, 2018