rollout

package
v4.0.0-0.11.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRollout

func NewCmdRollout(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRollout facilitates kubectl rollout subcommands

func NewCmdRolloutCancel

func NewCmdRolloutCancel(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdRolloutHistory

func NewCmdRolloutHistory(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutHistory is a wrapper for the Kubernetes cli rollout history command

func NewCmdRolloutLatest

func NewCmdRolloutLatest(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutLatest implements the oc rollout latest subcommand.

func NewCmdRolloutPause

func NewCmdRolloutPause(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutPause is a wrapper for the Kubernetes cli rollout pause command

func NewCmdRolloutResume

func NewCmdRolloutResume(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutResume is a wrapper for the Kubernetes cli rollout resume command

func NewCmdRolloutRetry

func NewCmdRolloutRetry(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

func NewCmdRolloutStatus

func NewCmdRolloutStatus(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutStatus is a wrapper for the Kubernetes cli rollout status command

func NewCmdRolloutUndo

func NewCmdRolloutUndo(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdRolloutUndo is a wrapper for the Kubernetes cli rollout undo command

Types

type CancelOptions

type CancelOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	Builder           func() *resource.Builder
	Namespace         string
	NamespaceExplicit bool
	Mapper            meta.RESTMapper
	Encoder           runtime.Encoder
	Resources         []string
	KubeClient        kubernetes.Interface

	Printer func(string) (printers.ResourcePrinter, error)

	resource.FilenameOptions
	genericclioptions.IOStreams
}

func NewRolloutCancelOptions

func NewRolloutCancelOptions(streams genericclioptions.IOStreams) *CancelOptions

func (*CancelOptions) Complete

func (o *CancelOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (CancelOptions) Run

func (o CancelOptions) Run() error

type RetryOptions

type RetryOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	Resources         []string
	Builder           func() *resource.Builder
	Mapper            meta.RESTMapper
	Encoder           runtime.Encoder
	Clientset         kexternalclientset.Interface
	Namespace         string
	ExplicitNamespace bool

	ToPrinter func(string) (printers.ResourcePrinter, error)

	resource.FilenameOptions
	genericclioptions.IOStreams
}

func NewRolloutRetryOptions

func NewRolloutRetryOptions(streams genericclioptions.IOStreams) *RetryOptions

func (*RetryOptions) Complete

func (o *RetryOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (RetryOptions) Run

func (o RetryOptions) Run() error

type RolloutLatestOptions

type RolloutLatestOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	Builder   *resource.Builder
	Namespace string

	Resource string

	DryRun bool

	Printer printers.ResourcePrinter

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

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

func NewRolloutLatestOptions

func NewRolloutLatestOptions(streams genericclioptions.IOStreams) *RolloutLatestOptions

func (*RolloutLatestOptions) Complete

func (o *RolloutLatestOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (*RolloutLatestOptions) RunRolloutLatest

func (o *RolloutLatestOptions) RunRolloutLatest() error

Jump to

Keyboard shortcuts

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