rollout

package
v1.11.4-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRollout

func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdRolloutHistory

func NewCmdRolloutHistory(f cmdutil.Factory, out io.Writer) *cobra.Command

func NewCmdRolloutPause

func NewCmdRolloutPause(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdRolloutResume

func NewCmdRolloutResume(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdRolloutStatus added in v1.3.0

func NewCmdRolloutStatus(f cmdutil.Factory, streams genericclioptions.IOStreams) *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

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, args []string) error

func (PauseConfig) RunPause

func (o PauseConfig) RunPause() error

type ResumeConfig

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, args []string) error

func (ResumeConfig) RunResume

func (o ResumeConfig) RunResume() error

type RolloutStatusOptions added in v1.11.0

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 added in v1.11.0

func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions

func (*RolloutStatusOptions) Complete added in v1.11.0

func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error

func (*RolloutStatusOptions) Run added in v1.11.0

func (o *RolloutStatusOptions) Run() error

func (*RolloutStatusOptions) Validate added in v1.11.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL