- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AddVolumes (0.34 sec)
-
pkg/controller/volume/attachdetach/util/util.go
return false } return defaultAction } // ProcessPodVolumes processes the volumes in the given pod and adds them to the // desired state of the world if addVolumes is true, otherwise it removes them.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 12K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller.go
return } volumeActionFlag := util.DetermineVolumeAction( pod, adc.desiredStateOfWorld, true /* default volume action */) util.ProcessPodVolumes(logger, pod, volumeActionFlag, /* addVolumes */ adc.desiredStateOfWorld, &adc.volumePluginMgr, adc.pvcLister, adc.pvLister, adc.csiMigratedPluginManager, adc.intreeToCSITranslator) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.6K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/testing/testing.go
r.lock.Lock() defer r.lock.Unlock() for _, claim := range claims { r.claims[claim.Name] = claim } } // AddVolumes adds PVs into VolumeReactor. func (r *VolumeReactor) AddVolumes(volumes []*v1.PersistentVolume) { r.lock.Lock() defer r.lock.Unlock() for _, volume := range volumes { r.volumes[volume.Name] = volume } }
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
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{}) for _, class := range storageClasses { indexer.Add(class)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0)