rollout

package
v3.6.5-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2017 License: Apache-2.0 Imports: 23 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 added in v1.5.0

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

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

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

func NewCmdRolloutStatus added in v1.4.0

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

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

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

func (CancelOptions) Run added in v1.5.0

func (o CancelOptions) Run() error

type RetryOptions added in v1.5.0

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

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

func (RetryOptions) Run added in v1.5.0

func (o RetryOptions) Run() error

type RolloutLatestOptions added in v1.4.0

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

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

func (*RolloutLatestOptions) Complete added in v1.4.0

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

func (RolloutLatestOptions) RunRolloutLatest added in v1.4.0

func (o RolloutLatestOptions) RunRolloutLatest() error

func (RolloutLatestOptions) Validate added in v1.4.0

func (o RolloutLatestOptions) Validate() error

Jump to

Keyboard shortcuts

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