rollout

package
v1.13.2-k3s1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 28 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, streams genericclioptions.IOStreams) *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

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

func NewCmdRolloutUndo

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

Types

type PauseOptions

type PauseOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	ToPrinter  func(string) (printers.ResourcePrinter, error)

	Pauser           polymorphichelpers.ObjectPauserFunc
	Builder          func() *resource.Builder
	Namespace        string
	EnforceNamespace bool
	Resources        []string

	resource.FilenameOptions
	genericclioptions.IOStreams
}

PauseOptions 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 (*PauseOptions) Complete

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

func (PauseOptions) RunPause

func (o PauseOptions) RunPause() error

func (*PauseOptions) Validate

func (o *PauseOptions) Validate() error

type ResumeOptions

type ResumeOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	ToPrinter  func(string) (printers.ResourcePrinter, error)

	Resources []string

	Builder          func() *resource.Builder
	Resumer          polymorphichelpers.ObjectResumerFunc
	Namespace        string
	EnforceNamespace bool

	resource.FilenameOptions
	genericclioptions.IOStreams
}

ResumeOptions 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 NewRolloutResumeOptions

func NewRolloutResumeOptions(streams genericclioptions.IOStreams) *ResumeOptions

func (*ResumeOptions) Complete

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

func (ResumeOptions) RunResume

func (o ResumeOptions) RunResume() error

func (*ResumeOptions) Validate

func (o *ResumeOptions) Validate() error

type RolloutHistoryOptions

type RolloutHistoryOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	ToPrinter  func(string) (printers.ResourcePrinter, error)

	Revision int64

	Builder          func() *resource.Builder
	Resources        []string
	Namespace        string
	EnforceNamespace bool

	HistoryViewer    polymorphichelpers.HistoryViewerFunc
	RESTClientGetter genericclioptions.RESTClientGetter

	resource.FilenameOptions
	genericclioptions.IOStreams
}

func NewRolloutHistoryOptions

func NewRolloutHistoryOptions(streams genericclioptions.IOStreams) *RolloutHistoryOptions

func (*RolloutHistoryOptions) Complete

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

func (*RolloutHistoryOptions) Run

func (o *RolloutHistoryOptions) Run() error

func (*RolloutHistoryOptions) Validate

func (o *RolloutHistoryOptions) Validate() error

type RolloutStatusOptions

type RolloutStatusOptions struct {
	PrintFlags *genericclioptions.PrintFlags

	Namespace        string
	EnforceNamespace bool
	BuilderArgs      []string

	Watch    bool
	Revision int64
	Timeout  time.Duration

	StatusViewerFn func(*meta.RESTMapping) (kubectl.StatusViewer, error)
	Builder        func() *resource.Builder
	DynamicClient  dynamic.Interface

	FilenameOptions *resource.FilenameOptions
	genericclioptions.IOStreams
}

func NewRolloutStatusOptions

func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions

func (*RolloutStatusOptions) Complete

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

func (*RolloutStatusOptions) Run

func (o *RolloutStatusOptions) Run() error

func (*RolloutStatusOptions) Validate

func (o *RolloutStatusOptions) Validate() error

type UndoOptions

type UndoOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	ToPrinter  func(string) (printers.ResourcePrinter, error)

	Builder          func() *resource.Builder
	ToRevision       int64
	DryRun           bool
	Resources        []string
	Namespace        string
	EnforceNamespace bool
	RESTClientGetter genericclioptions.RESTClientGetter

	resource.FilenameOptions
	genericclioptions.IOStreams
}

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 NewRolloutUndoOptions

func NewRolloutUndoOptions(streams genericclioptions.IOStreams) *UndoOptions

func (*UndoOptions) Complete

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

func (*UndoOptions) RunUndo

func (o *UndoOptions) RunUndo() error

func (*UndoOptions) Validate

func (o *UndoOptions) Validate() error

Jump to

Keyboard shortcuts

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