Documentation ¶
Index ¶
- func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutHistory(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutPause(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutResume(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutStatus(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutUndo(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type PauseOptions
- type ResumeOptions
- type RolloutHistoryOptions
- type RolloutStatusOptions
- type UndoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRollout ¶
func NewCmdRolloutHistory ¶
func NewCmdRolloutPause ¶
func NewCmdRolloutResume ¶
func NewCmdRolloutStatus ¶ added in v1.3.0
func NewCmdRolloutUndo ¶
Types ¶
type PauseOptions ¶ added in v1.12.6
type PauseOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Pauser polymorphichelpers.ObjectPauserFunc Builder func() *resource.Builder Namespace string EnforceNamespace bool Resources []string resource.FilenameOptions genericclioptions.IOStreams }
PauseOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (PauseOptions) RunPause ¶ added in v1.12.6
func (o PauseOptions) RunPause() error
func (*PauseOptions) Validate ¶ added in v1.12.6
func (o *PauseOptions) Validate() error
type ResumeOptions ¶ added in v1.12.6
type ResumeOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Resources []string Builder func() *resource.Builder Resumer polymorphichelpers.ObjectResumerFunc Namespace string EnforceNamespace bool resource.FilenameOptions genericclioptions.IOStreams }
ResumeOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewRolloutResumeOptions ¶ added in v1.12.6
func NewRolloutResumeOptions(streams genericclioptions.IOStreams) *ResumeOptions
func (ResumeOptions) RunResume ¶ added in v1.12.6
func (o ResumeOptions) RunResume() error
func (*ResumeOptions) Validate ¶ added in v1.12.6
func (o *ResumeOptions) Validate() error
type RolloutHistoryOptions ¶ added in v1.12.6
type RolloutHistoryOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Revision int64 Builder func() *resource.Builder Resources []string Namespace string EnforceNamespace bool HistoryViewer polymorphichelpers.HistoryViewerFunc RESTClientGetter genericclioptions.RESTClientGetter resource.FilenameOptions genericclioptions.IOStreams }
func NewRolloutHistoryOptions ¶ added in v1.12.6
func NewRolloutHistoryOptions(streams genericclioptions.IOStreams) *RolloutHistoryOptions
func (*RolloutHistoryOptions) Run ¶ added in v1.12.6
func (o *RolloutHistoryOptions) Run() error
func (*RolloutHistoryOptions) Validate ¶ added in v1.12.6
func (o *RolloutHistoryOptions) Validate() error
type RolloutStatusOptions ¶ added in v1.11.7
type RolloutStatusOptions struct { PrintFlags *genericclioptions.PrintFlags Namespace string EnforceNamespace bool BuilderArgs []string Watch bool Revision int64 Timeout time.Duration StatusViewer func(*meta.RESTMapping) (kubectl.StatusViewer, error) Builder func() *resource.Builder DynamicClient dynamic.Interface FilenameOptions *resource.FilenameOptions genericclioptions.IOStreams }
func NewRolloutStatusOptions ¶ added in v1.11.7
func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions
func (*RolloutStatusOptions) Complete ¶ added in v1.11.7
func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error
func (*RolloutStatusOptions) Run ¶ added in v1.11.7
func (o *RolloutStatusOptions) Run() error
func (*RolloutStatusOptions) Validate ¶ added in v1.11.7
func (o *RolloutStatusOptions) Validate() error
type UndoOptions ¶
type UndoOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Builder func() *resource.Builder ToRevision int64 DryRun bool Resources []string Namespace string EnforceNamespace bool RESTClientGetter genericclioptions.RESTClientGetter resource.FilenameOptions genericclioptions.IOStreams }
UndoOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewRolloutUndoOptions ¶ added in v1.12.6
func NewRolloutUndoOptions(streams genericclioptions.IOStreams) *UndoOptions
func (*UndoOptions) RunUndo ¶
func (o *UndoOptions) RunUndo() error
func (*UndoOptions) Validate ¶ added in v1.12.6
func (o *UndoOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.