Documentation ¶
Index ¶
- func NewCmdRollout(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRolloutHistory(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRolloutPause(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRolloutResume(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdRolloutUndo(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func RunHistory(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, ...) error
- type HistoryOptions
- type PauseConfig
- type ResumeConfig
- type UndoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRolloutHistory ¶
func NewCmdRolloutResume ¶
Types ¶
type HistoryOptions ¶
HistoryOptions 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()
type PauseConfig ¶
type PauseConfig struct { PauseObject func(object runtime.Object) (bool, error) Mapper meta.RESTMapper Typer runtime.ObjectTyper Info *resource.Info Out io.Writer Filenames []string Recursive bool }
PauseConfig 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 (*PauseConfig) CompletePause ¶
func (PauseConfig) RunPause ¶
func (o PauseConfig) RunPause() error
type ResumeConfig ¶
type ResumeConfig struct { ResumeObject func(object runtime.Object) (bool, error) Mapper meta.RESTMapper Typer runtime.ObjectTyper Info *resource.Info Out io.Writer Filenames []string Recursive bool }
ResumeConfig 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 (*ResumeConfig) CompleteResume ¶
func (ResumeConfig) RunResume ¶
func (o ResumeConfig) RunResume() error
type UndoOptions ¶
type UndoOptions struct { Rollbacker kubectl.Rollbacker Mapper meta.RESTMapper Typer runtime.ObjectTyper Info *resource.Info ToRevision int64 Out io.Writer Filenames []string Recursive bool }
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 (*UndoOptions) CompleteUndo ¶
func (*UndoOptions) RunUndo ¶
func (o *UndoOptions) RunUndo() error
Click to show internal directories.
Click to hide internal directories.