rollout

package
v3.7.35-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRollout

func NewCmdRollout(fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command

NewCmdRollout facilitates kubectl rollout subcommands

func NewCmdRolloutCancel

func NewCmdRolloutCancel(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdRolloutHistory

func NewCmdRolloutHistory(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutHistory is a wrapper for the Kubernetes cli rollout history command

func NewCmdRolloutLatest

func NewCmdRolloutLatest(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutLatest implements the oc rollout latest subcommand.

func NewCmdRolloutPause

func NewCmdRolloutPause(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutPause is a wrapper for the Kubernetes cli rollout pause command

func NewCmdRolloutResume

func NewCmdRolloutResume(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutResume is a wrapper for the Kubernetes cli rollout resume command

func NewCmdRolloutRetry

func NewCmdRolloutRetry(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdRolloutStatus

func NewCmdRolloutStatus(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutStatus is a wrapper for the Kubernetes cli rollout status command

func NewCmdRolloutUndo

func NewCmdRolloutUndo(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

NewCmdRolloutUndo is a wrapper for the Kubernetes cli rollout undo command

Types

type CancelOptions

type CancelOptions struct {
	Mapper  meta.RESTMapper
	Typer   runtime.ObjectTyper
	Encoder runtime.Encoder
	Infos   []*resource.Info

	Out             io.Writer
	FilenameOptions resource.FilenameOptions

	Clientset kclientset.Interface
}

func (*CancelOptions) Complete

func (o *CancelOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, out io.Writer, args []string) error

func (CancelOptions) Run

func (o CancelOptions) Run() error

type RetryOptions

type RetryOptions struct {
	Mapper  meta.RESTMapper
	Typer   runtime.ObjectTyper
	Encoder runtime.Encoder
	Infos   []*resource.Info

	Out             io.Writer
	FilenameOptions resource.FilenameOptions

	Clientset kclientset.Interface
}

func (*RetryOptions) Complete

func (o *RetryOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, out io.Writer, args []string) error

func (RetryOptions) Run

func (o RetryOptions) Run() error

type RolloutLatestOptions

type RolloutLatestOptions struct {
	DryRun bool
	// contains filtered or unexported fields
}

RolloutLatestOptions holds all the options for the `rollout latest` command.

func (*RolloutLatestOptions) Complete

func (o *RolloutLatestOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string, out io.Writer) error

func (RolloutLatestOptions) RunRolloutLatest

func (o RolloutLatestOptions) RunRolloutLatest() error

func (RolloutLatestOptions) Validate

func (o RolloutLatestOptions) Validate() error

Jump to

Keyboard shortcuts

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