kubernetes/staging/src/k8s.io/client-go/rest/client_test.go

type TestParam

// TestSerializer makes sure that you're always able to decode metav1.Status
func TestSerializer(t *testing.T) {}

func TestDoRequestSuccess(t *testing.T) {}

func TestDoRequestFailed(t *testing.T) {}

func TestDoRawRequestFailed(t *testing.T) {}

func TestDoRequestCreated(t *testing.T) {}

func TestDoRequestNotCreated(t *testing.T) {}

func TestDoRequestAcceptedNoContentReturned(t *testing.T) {}

func TestBadRequest(t *testing.T) {}

func validate(testParam TestParam, t *testing.T, body []byte, fakeHandler *utiltesting.FakeHandler) {}

func TestHTTPMethods(t *testing.T) {}

func TestHTTPProxy(t *testing.T) {}

func TestCreateBackoffManager(t *testing.T) {}

func testServerEnv(t *testing.T, statusCode int) (*httptest.Server, *utiltesting.FakeHandler, *metav1.Status) {}

func restClient(testServer *httptest.Server) (*RESTClient, error) {}