package run
import "k8s.io/kubectl/pkg/cmd/run"
Index ¶
- Variables
- func NewCmdRun(f cmdutil.Factory, streams genericiooptions.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 { cmdutil.OverrideOptions PrintFlags *genericclioptions.PrintFlags RecordFlags *genericclioptions.RecordFlags DeleteFlags *cmddelete.DeleteFlags DeleteOptions *cmddelete.DeleteOptions DryRunStrategy cmdutil.DryRunStrategy PrintObj func(runtime.Object) error Recorder genericclioptions.Recorder ArgsLenAtDash int Attach bool Expose bool Image string Interactive bool LeaveStdinOpen bool Port string Privileged bool Quiet bool TTY bool Namespace string EnforceNamespace bool genericiooptions.IOStreams // contains filtered or unexported fields }
func NewRunOptions ¶
func NewRunOptions(streams genericiooptions.IOStreams) *RunOptions
func (*RunOptions) Complete ¶
func (*RunOptions) Run ¶
Source Files ¶
run.go
- Version
- v0.32.3 (latest)
- Published
- Mar 12, 2025
- Platform
- linux/amd64
- Imports
- 36 packages
- Last checked
- 5 days ago –
Tools for package owners.