type fakeRemoteAttach … func (f *fakeRemoteAttach) Attach(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error { … } func fakeAttachablePodFn(pod *corev1.Pod) polymorphichelpers.AttachablePodForObjectFunc { … } func TestPodAndContainerAttach(t *testing.T) { … } func TestAttach(t *testing.T) { … } func TestAttachWarnings(t *testing.T) { … } func attachPod() *corev1.Pod { … } func setDefaultContainer(pod *corev1.Pod, name string) *corev1.Pod { … } func TestReattachMessage(t *testing.T) { … } func TestCreateExecutor(t *testing.T) { … }