kubernetes/pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

func TestFinalized(t *testing.T) {}

func TestFinalizeNamespaceFunc(t *testing.T) {}

func testSyncNamespaceThatIsTerminating(t *testing.T, versions *metav1.APIVersions) {}

func TestRetryOnConflictError(t *testing.T) {}

func TestSyncNamespaceThatIsTerminatingNonExperimental(t *testing.T) {}

func TestSyncNamespaceThatIsTerminatingV1(t *testing.T) {}

func TestSyncNamespaceThatIsActive(t *testing.T) {}

// matchError returns true if errors match, false if they don't, compares by error message only for convenience which should be sufficient for these tests
func matchErrors(e1, e2 error) bool {}

// testServerAndClientConfig returns a server that listens and a config that can reference it
func testServerAndClientConfig(handler func(http.ResponseWriter, *http.Request)) (*httptest.Server, *restclient.Config) {}

type fakeAction

// String returns method=path to aid in testing
func (f *fakeAction) String() string {}

type fakeActionHandler

// ServeHTTP logs the action that occurred and always returns the associated status code
func (f *fakeActionHandler) ServeHTTP(response http.ResponseWriter, request *http.Request) {}

// testResources returns a mocked up set of resources across different api groups for testing namespace controller.
func testResources() []*metav1.APIResourceList {}

func TestDeleteEncounters404(t *testing.T) {}