Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Blah (0.1 sec)

  1. pkg/apis/core/validation/validation_test.go

    		Labels: map[string]string{
    			"other": "blah",
    			"foo":   "bar",
    		},
    	}
    	if errs := ValidateHasLabel(successCase, field.NewPath("field"), "foo", "bar"); len(errs) != 0 {
    		t.Errorf("expected success: %v", errs)
    	}
    
    	missingCase := metav1.ObjectMeta{
    		Name:      "123",
    		Namespace: "ns",
    		Labels: map[string]string{
    			"other": "blah",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top