kubernetes/pkg/registry/core/componentstatus/rest_test.go

type fakeHttpProber

func (f *fakeHttpProber) Probe(*http.Request, time.Duration) (probe.Result, string, error) {}

type testResponse

func NewTestREST(resp testResponse) *REST {}

func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus {}

func TestList_NoError(t *testing.T) {}

func TestList_WithLabelSelectors(t *testing.T) {}

func TestList_WithFieldSelectors(t *testing.T) {}

func TestList_FailedCheck(t *testing.T) {}

func TestList_UnknownError(t *testing.T) {}

func TestGet_NoError(t *testing.T) {}

func TestGet_BadName(t *testing.T) {}