var attachExample …
const defaultPodAttachTimeout …
const defaultPodLogsTimeout …
type AttachOptions …
func NewAttachOptions(streams genericiooptions.IOStreams) *AttachOptions { … }
func NewCmdAttach(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command { … }
type RemoteAttach …
func DefaultAttachFunc(o *AttachOptions, containerToAttach *corev1.Container, raw bool, sizeQueue remotecommand.TerminalSizeQueue) func() error { … }
type DefaultRemoteAttach …
func (*DefaultRemoteAttach) Attach(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error { … }
func createExecutor(url *url.URL, config *restclient.Config) (remotecommand.Executor, error) { … }
func (o *AttachOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { … }
func (o *AttachOptions) Validate() error { … }
func (o *AttachOptions) Run() error { … }
func (o *AttachOptions) findAttachablePod(obj runtime.Object) (*corev1.Pod, error) { … }
func (o *AttachOptions) containerToAttachTo(pod *corev1.Pod) (*corev1.Container, error) { … }
func (o *AttachOptions) GetContainerName(pod *corev1.Pod) (string, error) { … }
func (o *AttachOptions) reattachMessage(containerName string, rawTTY bool) string { … }