type fakeRemoteExecutor … func (f *fakeRemoteExecutor) Execute(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error { … } func TestPodAndContainer(t *testing.T) { … } func TestExec(t *testing.T) { … } func execPod() *corev1.Pod { … } func TestSetupTTY(t *testing.T) { … } func TestCreateExecutor(t *testing.T) { … }