Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + func DefaultAttachFunc(o *AttachOptions, containerToAttach *corev1.Container, raw bool, ...) func() error + func NewCmdAttach(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + type AttachOptions struct + Attach RemoteAttach + AttachFunc func(*AttachOptions, *corev1.Container, bool, remotecommand.TerminalSizeQueue) func() error + AttachablePodFn polymorphichelpers.AttachablePodForObjectFunc + Builder func() *resource.Builder + CommandName string + Config *restclient.Config + DisableStderr bool + GetPodTimeout time.Duration + Pod *corev1.Pod + Resources []string + func NewAttachOptions(streams genericclioptions.IOStreams) *AttachOptions + func (o *AttachOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *AttachOptions) GetContainerName(pod *corev1.Pod) (string, error) + func (o *AttachOptions) Run() error + func (o *AttachOptions) Validate() error + type DefaultRemoteAttach struct + func (*DefaultRemoteAttach) Attach(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error + type RemoteAttach interface + Attach func(method string, url *url.URL, config *restclient.Config, stdin io.Reader, ...) error