Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnstructuredMetadataOmitempty (0.3 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_test.go

    		}
    		setObjectMetaUsingAccessors(u, uCopy)
    
    		if !equality.Semantic.DeepEqual(u, uCopy) {
    			t.Errorf("diff: %v", cmp.Diff(u, uCopy))
    		}
    	}
    }
    
    // TestUnstructuredMetadataOmitempty checks that ObjectMeta omitempty
    // semantics are enforced for unstructured objects.
    // The fuzzing test above should catch these cases but this is here just to be safe.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top