Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEnsureObjectNamespaceMatchesRequestNamespace (0.35 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/meta_test.go

    	FillObjectMetaSystemFields(&resource)
    	if !metav1.HasObjectMetaSystemFieldValues(objMeta) {
    		t.Errorf("the resource does have all fields populated, but incorrectly reports it does not")
    	}
    }
    
    func TestEnsureObjectNamespaceMatchesRequestNamespace(t *testing.T) {
    	testcases := []struct {
    		name        string
    		reqNS       string
    		objNS       string
    		expectErr   bool
    		expectObjNS string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 19 01:47:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top