type fakeExecutor …
func (ex *fakeExecutor) ExecInContainer(_ context.Context, name string, uid types.UID, container string, cmd []string, in io.Reader, out, err io.WriteCloser, tty bool, resize <-chan remoteclient.TerminalSize, timeout time.Duration) error { … }
func (ex *fakeExecutor) AttachContainer(_ context.Context, name string, uid types.UID, container string, in io.Reader, out, err io.WriteCloser, tty bool, resize <-chan remoteclient.TerminalSize) error { … }
func (ex *fakeExecutor) run(name string, uid types.UID, container string, cmd []string, in io.Reader, out, err io.WriteCloser, tty bool) error { … }
func fakeServer(t *testing.T, requestReceived chan struct{ … }
func TestStream(t *testing.T) { … }
type fakeUpgrader …
func (u *fakeUpgrader) RoundTrip(req *http.Request) (*http.Response, error) { … }
func (u *fakeUpgrader) NewConnection(resp *http.Response) (httpstream.Connection, error) { … }
type fakeConnection …
func TestDial(t *testing.T) { … }