- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AddClaimBoundToVolume (0.44 sec)
-
pkg/controller/volume/persistentvolume/testing/testing.go
func (r *VolumeReactor) DeleteVolume(name string) { r.lock.Lock() defer r.lock.Unlock() delete(r.volumes, name) } // AddClaimBoundToVolume adds a PVC and binds it to corresponding PV. func (r *VolumeReactor) AddClaimBoundToVolume(claim *v1.PersistentVolumeClaim) { r.lock.Lock() defer r.lock.Unlock() r.claims[claim.Name] = claim if volume, ok := r.volumes[claim.Spec.VolumeName]; ok {
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/delete_test.go
// Bind the volume to resurrected claim (this should never // happen) claim := newClaim("claim8-7", "uid8-7", "10Gi", "volume8-7", v1.ClaimBound, nil) reactor.AddClaimBoundToVolume(claim) ctrl.claims.Add(claim) }), }, { // delete success - volume bound by user is deleted, while a new // claim is created with another UID.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.8K bytes - Viewed (0)