package rollout
import "k8s.io/kubernetes/pkg/kubectl/cmd/rollout"
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 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, options *HistoryOptions) error
- func RunStatus(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, options *StatusOptions) error
- type HistoryOptions
- type PauseConfig
- func (o *PauseConfig) CompletePause(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
- func (o PauseConfig) RunPause() error
- type ResumeConfig
- func (o *ResumeConfig) CompleteResume(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
- func (o ResumeConfig) RunResume() error
- type StatusOptions
- type UndoOptions
Functions ¶
func NewCmdRollout ¶
func NewCmdRolloutHistory ¶
func NewCmdRolloutPause ¶
func NewCmdRolloutResume ¶
func NewCmdRolloutStatus ¶
func NewCmdRolloutUndo ¶
func RunHistory ¶
func RunHistory(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, options *HistoryOptions) error
func RunStatus ¶
func RunStatus(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, options *StatusOptions) error
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 Infos []*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 (o *PauseConfig) CompletePause(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
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 Infos []*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 (o *ResumeConfig) CompleteResume(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
func (ResumeConfig) RunResume ¶
func (o ResumeConfig) RunResume() error
type StatusOptions ¶
StatusOptions 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 UndoOptions ¶
type UndoOptions struct { Rollbackers []kubectl.Rollbacker Mapper meta.RESTMapper Typer runtime.ObjectTyper Infos []*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 (o *UndoOptions) CompleteUndo(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string) error
func (*UndoOptions) RunUndo ¶
func (o *UndoOptions) RunUndo() error
Source Files ¶
rollout.go rollout_history.go rollout_pause.go rollout_resume.go rollout_status.go rollout_undo.go
- Version
- v1.4.9
- Published
- Feb 15, 2017
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 3 minutes ago –
Tools for package owners.