- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CheckClaims (0.39 sec)
-
pkg/controller/volume/persistentvolume/testing/testing.go
// easier debugging. return fmt.Errorf("Volume check failed [A-expected, B-got]: %s", cmp.Diff(expectedMap, gotMap)) } return nil } // CheckClaims compares all expectedClaims with set of claims at the end of the // test and reports differences. func (r *VolumeReactor) CheckClaims(expectedClaims []*v1.PersistentVolumeClaim) error { r.lock.Lock() defer r.lock.Unlock() expectedMap := make(map[string]*v1.PersistentVolumeClaim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/framework_test.go
// Finish all operations that are in progress r.ctrl.runningOperations.WaitForCompletion() // Return 'true' if the reactor reached the expected state err1 := r.CheckClaims(test.expectedClaims) err2 := r.CheckVolumes(test.expectedVolumes) if err1 == nil && err2 == nil { return true, nil } return false, nil }) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
if diff := cmp.Diff(pvc, newCachedPVC); diff != "" { t.Errorf("cached PVC check failed (-want, +got):\n%s", diff) } } // Check reactor for API updates if err := env.reactor.CheckClaims(expectedAPIPVCs); err != nil { t.Errorf("API reactor validation failed: %v", err) } } const ( pvcUnbound = iota pvcPrebound pvcBound pvcSelectedNode )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0)