Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	// First update, so originalPod is outdated.
    	updatedPod := &example.Pod{}
    	validateCount := 0
    	updateCount := 0
    	// Simulate a conflicting update in the middle of delete.
    	validateAllWithUpdate := func(_ context.Context, _ runtime.Object) error {
    		validateCount++
    		if validateCount > 1 {
    			return nil
    		}
    		if err := store.GuaranteedUpdate(ctx, key, updatedPod, false, nil,
    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