package rollout
import "k8s.io/kubernetes/pkg/kubectl/cmd/rollout"
Index ¶
- func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRolloutHistory(f cmdutil.Factory, out io.Writer) *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, out io.Writer) *cobra.Command
- func RunHistory(f cmdutil.Factory, cmd *cobra.Command, out io.Writer, args []string, options *resource.FilenameOptions) error
- type PauseConfig
- func (o *PauseConfig) CompletePause(f cmdutil.Factory, cmd *cobra.Command, args []string) error
- func (o PauseConfig) RunPause() error
- type ResumeConfig
- func (o *ResumeConfig) CompleteResume(f cmdutil.Factory, cmd *cobra.Command, args []string) error
- func (o ResumeConfig) RunResume() error
- type RolloutStatusOptions
- func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions
- func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error
- func (o *RolloutStatusOptions) Run() error
- func (o *RolloutStatusOptions) Validate(cmd *cobra.Command, args []string) error
- 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 *resource.FilenameOptions) error
Types ¶
type PauseConfig ¶
type PauseConfig struct { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Pauser polymorphichelpers.ObjectPauserFunc Infos []*resource.Info genericclioptions.IOStreams }
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 { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Resumer polymorphichelpers.ObjectResumerFunc Infos []*resource.Info genericclioptions.IOStreams }
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 RolloutStatusOptions ¶
type RolloutStatusOptions struct { FilenameOptions *resource.FilenameOptions genericclioptions.IOStreams Namespace string EnforceNamespace bool BuilderArgs []string Watch bool Revision int64 StatusViewer func(*meta.RESTMapping) (kubectl.StatusViewer, error) Builder *resource.Builder }
func NewRolloutStatusOptions ¶
func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions
func (*RolloutStatusOptions) Complete ¶
func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error
func (*RolloutStatusOptions) Run ¶
func (o *RolloutStatusOptions) Run() error
func (*RolloutStatusOptions) Validate ¶
func (o *RolloutStatusOptions) Validate(cmd *cobra.Command, args []string) error
type UndoOptions ¶
type UndoOptions struct { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Rollbackers []kubectl.Rollbacker 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
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.11.2
- Published
- Aug 7, 2018
- Platform
- js/wasm
- Imports
- 20 packages
- Last checked
- 5 minutes ago –
Tools for package owners.