Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestList_WithLabelSelectors (0.27 sec)

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

    	}
    	if e, a := expect, got; !reflect.DeepEqual(e, a) {
    		t.Errorf("Got unexpected object. Diff: %s", cmp.Diff(e, a))
    	}
    }
    
    func TestList_WithLabelSelectors(t *testing.T) {
    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	opts := metainternalversion.ListOptions{
    		LabelSelector: labels.SelectorFromSet(map[string]string{
    			"testLabel": "testValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top