Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewUIDPreconditions (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		precondition        *storage.Preconditions
    		expectInvalidObjErr bool
    	}{{
    		name:                "UID match",
    		precondition:        storage.NewUIDPreconditions("A"),
    		expectInvalidObjErr: false,
    	}, {
    		name:                "UID mismatch",
    		precondition:        storage.NewUIDPreconditions("B"),
    		expectInvalidObjErr: true,
    	}}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			out := &example.Pod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top