kubernetes/cmd/kube-proxy/app/server_test.go

type fakeProxyServerLongRun

// Run runs the specified ProxyServer.
func (s *fakeProxyServerLongRun) Run(ctx context.Context) error {}

// CleanupAndExit runs in the specified ProxyServer.
func (s *fakeProxyServerLongRun) CleanupAndExit() error {}

type fakeProxyServerError

// Run runs the specified ProxyServer.
func (s *fakeProxyServerError) Run(ctx context.Context) error {}

// CleanupAndExit runs in the specified ProxyServer.
func (s *fakeProxyServerError) CleanupAndExit() error {}

func makeNodeWithAddress(name, primaryIP string) *v1.Node {}

// Test that getNodeIPs retries on failure
func Test_getNodeIPs(t *testing.T) {}

func Test_detectNodeIPs(t *testing.T) {}

func Test_checkBadConfig(t *testing.T) {}

func Test_checkBadIPConfig(t *testing.T) {}