Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAttach ¶
func NewCmdAttach(f util.Factory, parentCommand string, streams genericiooptions.IOStreams) *cobra.Command
NewCmdAttach new attach command.
Types ¶
type CommandAttachOptions ¶
type CommandAttachOptions struct { // flags specific to attach *kubectlattach.AttachOptions Cluster string OperationScope options.OperationScope }
CommandAttachOptions declare the arguments accepted by the attach command
func (*CommandAttachOptions) Complete ¶
Complete verifies command line arguments and loads data from the command environment
func (*CommandAttachOptions) Run ¶
func (o *CommandAttachOptions) Run() error
Run executes a validated remote execution against a pod.
func (*CommandAttachOptions) Validate ¶
func (o *CommandAttachOptions) Validate() error
Validate checks that the provided attach options are specified.
Click to show internal directories.
Click to hide internal directories.