package run
import "k8s.io/kubectl/pkg/cmd/run"
Index ¶
- Variables
- func NewCmdRun(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type RunObject
- type RunOptions
Variables ¶
ErrPodCompleted is returned by PodRunning or PodContainerRunning to indicate that the pod has already reached completed state.
Functions ¶
func NewCmdRun ¶
Types ¶
type RunObject ¶
type RunObject struct { Object runtime.Object Mapping *meta.RESTMapping }
type RunOptions ¶
type RunOptions struct { PrintFlags *genericclioptions.PrintFlags RecordFlags *genericclioptions.RecordFlags DeleteFlags *delete.DeleteFlags DeleteOptions *delete.DeleteOptions DryRunStrategy cmdutil.DryRunStrategy DryRunVerifier *resource.DryRunVerifier PrintObj func(runtime.Object) error Recorder genericclioptions.Recorder 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 ¶
func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions
func (*RunOptions) Complete ¶
func (*RunOptions) Run ¶
Source Files ¶
run.go
- Version
- v0.18.12
- Published
- Nov 13, 2020
- Platform
- js/wasm
- Imports
- 35 packages
- Last checked
- 4 seconds ago –
Tools for package owners.