Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attach ¶
func Attach(out io.Writer, cfg rest.Config, namespace, name string, in *os.File, handshake, containerName string) error
Attach appropriates the behaviour of 'kubectl attach', adding a workaround for https://github.com/kubernetes/kubernetes/issues/27264. A 'handshake string' is sent, to inform the runner on the pod that the client has attached and, only then, will the runner invoke the process.
Types ¶
Click to show internal directories.
Click to hide internal directories.