rollout

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2016 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRollout

func NewCmdRollout(f *cmdutil.Factory, out 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 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 *HistoryOptions) error

Types

type HistoryOptions

type HistoryOptions struct {
	Filenames []string
}

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
}

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
	Info         *resource.Info

	Out       io.Writer
	Filenames []string
}

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 UndoOptions

type UndoOptions struct {
	Rollbacker kubectl.Rollbacker
	Mapper     meta.RESTMapper
	Typer      runtime.ObjectTyper
	Info       *resource.Info
	ToRevision int64
	Out        io.Writer
	Filenames  []string
}

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