- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AddClaims (0.15 sec)
-
pkg/controller/volume/persistentvolume/testing/testing.go
// Generate event. No cloning is needed, this claim is not stored in the // controller cache yet. if r.fakeClaimWatch != nil { r.fakeClaimWatch.Add(claim) } } // AddClaims adds PVCs into VolumeReactor. func (r *VolumeReactor) AddClaims(claims []*v1.PersistentVolumeClaim) { r.lock.Lock() defer r.lock.Unlock() for _, claim := range claims { r.claims[claim.Name] = claim } }
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
} for _, volume := range test.initialVolumes { if metav1.HasAnnotation(volume.ObjectMeta, annSkipLocalStore) { continue } ctrl.volumes.store.Add(volume) } reactor.AddClaims(test.initialClaims) reactor.AddVolumes(test.initialVolumes) // Inject classes into controller via a custom lister. indexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0)