- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AddVolume (0.16 sec)
-
pkg/controller/volume/persistentvolume/provision_test.go
volume := newVolume("pvc-uid11-7", "1Gi", "uid11-7", "claim11-7", v1.VolumeBound, v1.PersistentVolumeReclaimDelete, classGold, volume.AnnBoundByController, volume.AnnDynamicallyProvisioned) reactor.AddVolume(volume) }), }, { // Provision success - cannot save provisioned PV once, // second retry succeeds name: "11-8 - cannot save provisioned volume", initialVolumes: novolumes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 35.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
pluginIsAttachable = volumeAttachabilityTrue } return asw.addVolume(volumeName, volumeSpec, devicePath, pluginIsAttachable) } func (asw *actualStateOfWorld) AddAttachUncertainReconstructedVolume( volumeName v1.UniqueVolumeName, volumeSpec *volume.Spec, _ types.NodeName, devicePath string) error { return asw.addVolume(volumeName, volumeSpec, devicePath, volumeAttachabilityUncertain) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/testing/testing.go
func (r *VolumeReactor) AddClaim(claim *v1.PersistentVolumeClaim) { r.lock.Lock() defer r.lock.Unlock() r.claims[claim.Name] = claim } // AddVolume adds a PV into VolumeReactor. func (r *VolumeReactor) AddVolume(volume *v1.PersistentVolume) { r.lock.Lock() defer r.lock.Unlock() r.volumes[volume.Name] = volume } // DeleteVolume deletes a PV by name.
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/pv_controller_base.go
return controller, nil } // initializeCaches fills all controller caches with initial data from etcd in // order to have the caches already filled when first addClaim/addVolume to // perform initial synchronization of the controller.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
for _, pv := range cachedPVs { assumecache.AddTestObject(env.internalBinder.pvCache.AssumeCache, pv) if apiPVs == nil { env.reactor.AddVolume(pv) } } for _, pv := range apiPVs { env.reactor.AddVolume(pv) } } func (env *testEnv) updateVolumes(ctx context.Context, pvs []*v1.PersistentVolume) error { for i, pv := range pvs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_test.go
reactor.AddClaim(claim) go func(claim *v1.PersistentVolumeClaim) { fakeClaimWatch.Add(claim) }(claim) } for _, volume := range test.initialVolumes { volume = volume.DeepCopy() reactor.AddVolume(volume) go func(volume *v1.PersistentVolume) { fakeVolumeWatch.Add(volume) }(volume) } // Start the controller ctx, cancel := context.WithCancel(context.TODO())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.4K bytes - Viewed (0)