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

package run

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

Index

Package Files

run.go

func NewCmdRun Uses

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

type RunObject Uses

type RunObject struct {
    Object  runtime.Object
    Mapping *meta.RESTMapping
}

type RunOptions Uses

type RunOptions struct {
    PrintFlags  *genericclioptions.PrintFlags
    RecordFlags *genericclioptions.RecordFlags

    DeleteFlags   *delete.DeleteFlags
    DeleteOptions *delete.DeleteOptions

    DryRun bool

    PrintObj func(runtime.Object) error
    Recorder genericclioptions.Recorder

    DynamicClient dynamic.Interface

    ArgsLenAtDash  int
    Attach         bool
    Expose         bool
    Generator      string
    Image          string
    Interactive    bool
    LeaveStdinOpen bool
    Port           string
    Quiet          bool
    Schedule       string
    TTY            bool

    genericclioptions.IOStreams
}

func NewRunOptions Uses

func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions

func (*RunOptions) Complete Uses

func (o *RunOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*RunOptions) Run Uses

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

Package run imports 35 packages (graph) and is imported by 10 packages. Updated 2019-07-17. Refresh now. Tools for package owners.