kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward_test.go

type fakePortForwarder

func (f *fakePortForwarder) ForwardPorts(method string, url *url.URL, opts PortForwardOptions) error {}

func testPortForward(t *testing.T, flags map[string]string, args []string) {}

func TestPortForward(t *testing.T) {}

func TestTranslateServicePortToTargetPort(t *testing.T) {}

func execPod() *corev1.Pod {}

func TestConvertPodNamedPortToNumber(t *testing.T) {}

func TestCheckUDPPort(t *testing.T) {}

func TestCreateDialer(t *testing.T) {}