Documentation
¶
Index ¶
- func NewCmdRollout(f cmdutil.Factory, out, errOut 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 NewCmdRolloutStatus(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
- func RunStatus(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, ...) error
- type PauseConfig
- type ResumeConfig
- type UndoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRollout ¶
func NewCmdRollout(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command
func NewCmdRolloutHistory ¶
func NewCmdRolloutHistory(f cmdutil.Factory, out io.Writer) *cobra.Command
func NewCmdRolloutPause ¶
func NewCmdRolloutPause(f cmdutil.Factory, out io.Writer) *cobra.Command
func NewCmdRolloutResume ¶
func NewCmdRolloutResume(f cmdutil.Factory, out io.Writer) *cobra.Command
func NewCmdRolloutStatus ¶ added in v1.3.0
func NewCmdRolloutStatus(f cmdutil.Factory, out io.Writer) *cobra.Command
func NewCmdRolloutUndo ¶
func NewCmdRolloutUndo(f cmdutil.Factory, out io.Writer) *cobra.Command
func RunHistory ¶
func RunHistory(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, options *resource.FilenameOptions) error
Types ¶
type PauseConfig ¶
type PauseConfig struct {
resource.FilenameOptions
Pauser func(info *resource.Info) ([]byte, error)
Mapper meta.RESTMapper
Typer runtime.ObjectTyper
Encoder runtime.Encoder
Infos []*resource.Info
Out io.Writer
}
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 (o *PauseConfig) CompletePause(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
type ResumeConfig ¶
type ResumeConfig struct {
resource.FilenameOptions
Resumer func(object *resource.Info) ([]byte, error)
Mapper meta.RESTMapper
Typer runtime.ObjectTyper
Encoder runtime.Encoder
Infos []*resource.Info
Out io.Writer
}
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 (o *ResumeConfig) CompleteResume(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
type UndoOptions ¶
type UndoOptions struct {
resource.FilenameOptions
Rollbackers []kubectl.Rollbacker
Mapper meta.RESTMapper
Typer runtime.ObjectTyper
Infos []*resource.Info
ToRevision int64
DryRun bool
Out io.Writer
}
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 (o *UndoOptions) CompleteUndo(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
Click to show internal directories.
Click to hide internal directories.