kubernetes: k8s.io/kubernetes/pkg/kubectl/cmd/rollout Index | Files

package rollout

import "k8s.io/kubernetes/pkg/kubectl/cmd/rollout"

Index

Package Files

rollout.go rollout_history.go rollout_pause.go rollout_restart.go rollout_resume.go rollout_status.go rollout_undo.go

func NewCmdRollout Uses

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

NewCmdRollout returns a Command instance for 'rollout' sub command

func NewCmdRolloutHistory Uses

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

NewCmdRolloutHistory returns a Command instance for RolloutHistory sub command

func NewCmdRolloutPause Uses

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

NewCmdRolloutPause returns a Command instance for 'rollout pause' sub command

func NewCmdRolloutRestart Uses

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

NewCmdRolloutRestart returns a Command instance for 'rollout restart' sub command

func NewCmdRolloutResume Uses

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

NewCmdRolloutResume returns a Command instance for 'rollout resume' sub command

func NewCmdRolloutStatus Uses

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

NewCmdRolloutStatus returns a Command instance for the 'rollout status' sub command

func NewCmdRolloutUndo Uses

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

NewCmdRolloutUndo returns a Command instance for the 'rollout undo' sub command

type PauseOptions Uses

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 Uses

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

Complete completes all the required options

func (*PauseOptions) RunPause Uses

func (o *PauseOptions) RunPause() error

RunPause performs the execution of 'rollout pause' sub command

func (*PauseOptions) Validate Uses

func (o *PauseOptions) Validate() error

type RestartOptions Uses

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

    Resources []string

    Builder          func() *resource.Builder
    Restarter        polymorphichelpers.ObjectRestarterFunc
    Namespace        string
    EnforceNamespace bool

    resource.FilenameOptions
    genericclioptions.IOStreams
}

RestartOptions 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 NewRolloutRestartOptions Uses

func NewRolloutRestartOptions(streams genericclioptions.IOStreams) *RestartOptions

NewRolloutRestartOptions returns an initialized RestartOptions instance

func (*RestartOptions) Complete Uses

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

Complete completes all the required options

func (RestartOptions) RunRestart Uses

func (o RestartOptions) RunRestart() error

RunRestart performs the execution of 'rollout restart' sub command

func (*RestartOptions) Validate Uses

func (o *RestartOptions) Validate() error

type ResumeOptions Uses

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 Uses

func NewRolloutResumeOptions(streams genericclioptions.IOStreams) *ResumeOptions

NewRolloutResumeOptions returns an initialized ResumeOptions instance

func (*ResumeOptions) Complete Uses

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

Complete completes all the required options

func (ResumeOptions) RunResume Uses

func (o ResumeOptions) RunResume() error

RunResume performs the execution of 'rollout resume' sub command

func (*ResumeOptions) Validate Uses

func (o *ResumeOptions) Validate() error

type RolloutHistoryOptions Uses

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
}

RolloutHistoryOptions holds the options for 'rollout history' sub command

func NewRolloutHistoryOptions Uses

func NewRolloutHistoryOptions(streams genericclioptions.IOStreams) *RolloutHistoryOptions

NewRolloutHistoryOptions returns an initialized RolloutHistoryOptions instance

func (*RolloutHistoryOptions) Complete Uses

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

Complete completes al the required options

func (*RolloutHistoryOptions) Run Uses

func (o *RolloutHistoryOptions) Run() error

Run performs the execution of 'rollout history' sub command

func (*RolloutHistoryOptions) Validate Uses

func (o *RolloutHistoryOptions) Validate() error

Validate makes sure all the provided values for command-line options are valid

type RolloutStatusOptions Uses

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
}

RolloutStatusOptions holds the command-line options for 'rollout status' sub command

func NewRolloutStatusOptions Uses

func NewRolloutStatusOptions(streams genericclioptions.IOStreams) *RolloutStatusOptions

NewRolloutStatusOptions returns an initialized RolloutStatusOptions instance

func (*RolloutStatusOptions) Complete Uses

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

Complete completes all the required options

func (*RolloutStatusOptions) Run Uses

func (o *RolloutStatusOptions) Run() error

Run performs the execution of 'rollout status' sub command

func (*RolloutStatusOptions) Validate Uses

func (o *RolloutStatusOptions) Validate() error

Validate makes sure all the provided values for command-line options are valid

type UndoOptions Uses

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 Uses

func NewRolloutUndoOptions(streams genericclioptions.IOStreams) *UndoOptions

NewRolloutUndoOptions returns an initialized UndoOptions instance

func (*UndoOptions) Complete Uses

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

Complete completes al the required options

func (*UndoOptions) RunUndo Uses

func (o *UndoOptions) RunUndo() error

RunUndo performs the execution of 'rollout undo' sub command

func (*UndoOptions) Validate Uses

func (o *UndoOptions) Validate() error

Package rollout imports 28 packages (graph) and is imported by 69 packages. Updated 2019-07-24. Refresh now. Tools for package owners.