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

package rollingupdate

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

Index

Package Files

rollingupdate.go

func NewCmdRollingUpdate Uses

func NewCmdRollingUpdate(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

type RollingUpdateOptions Uses

type RollingUpdateOptions struct {
    FilenameOptions *resource.FilenameOptions

    OldName     string
    KeepOldName bool

    DeploymentKey    string
    Image            string
    Container        string
    PullPolicy       string
    Rollback         bool
    Period           time.Duration
    Timeout          time.Duration
    Interval         time.Duration
    DryRun           bool
    OutputFormat     string
    Namespace        string
    EnforceNamespace bool

    ScaleClient scaleclient.ScalesGetter
    ClientSet   kubernetes.Interface
    Builder     *resource.Builder

    ShouldValidate bool
    Validator      func(bool) (validation.Schema, error)

    FindNewName func(*corev1.ReplicationController) string

    PrintFlags *genericclioptions.PrintFlags
    ToPrinter  func(string) (printers.ResourcePrinter, error)

    genericclioptions.IOStreams
}

func NewRollingUpdateOptions Uses

func NewRollingUpdateOptions(streams genericclioptions.IOStreams) *RollingUpdateOptions

func (*RollingUpdateOptions) Complete Uses

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

func (*RollingUpdateOptions) Run Uses

func (o *RollingUpdateOptions) Run() error

func (*RollingUpdateOptions) Validate Uses

func (o *RollingUpdateOptions) Validate(cmd *cobra.Command, args []string) error

Package rollingupdate imports 22 packages (graph) and is imported by 9 packages. Updated 2019-07-24. Refresh now. Tools for package owners.