Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for claimrefToClaimKey (0.2 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller.go

    					return fmt.Errorf("invalid binding of claim %q to volume %q: volume already claimed by %q", claimToClaimKey(claim), claim.Spec.VolumeName, claimrefToClaimKey(volume.Spec.ClaimRef))
    				}
    			}
    		}
    	}
    }
    
    // syncBoundClaim is the main controller method to decide what to do with a
    // bound claim.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	}
    	// sync the claim when its volume is deleted. Explicitly syncing the
    	// claim here in response to volume deletion prevents the claim from
    	// waiting until the next sync period for its Lost status.
    	claimKey := claimrefToClaimKey(volume.Spec.ClaimRef)
    	logger.V(5).Info("deleteVolume: scheduling sync of claim", "PVC", klog.KRef(volume.Spec.ClaimRef.Namespace, volume.Spec.ClaimRef.Name), "volumeName", volume.Name)
    	ctrl.claimQueue.Add(claimKey)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top