Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for claimToClaimKey (0.24 sec)

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

    }
    
    func (c byAccessModes) Swap(i, j int) {
    	c.modes[i], c.modes[j] = c.modes[j], c.modes[i]
    }
    
    func (c byAccessModes) Len() int {
    	return len(c.modes)
    }
    
    func claimToClaimKey(claim *v1.PersistentVolumeClaim) string {
    	return fmt.Sprintf("%s/%s", claim.Namespace, claim.Name)
    }
    
    func claimrefToClaimKey(claimref *v1.ObjectReference) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller.go

    		if err != nil {
    			logger.V(2).Info("Synchronizing unbound PersistentVolumeClaim, Error finding PV for claim", "PVC", klog.KObj(claim), "err", err)
    			return fmt.Errorf("error finding PV for claim %q: %w", claimToClaimKey(claim), err)
    		}
    		if volume == nil {
    			logger.V(4).Info("Synchronizing unbound PersistentVolumeClaim, no volume found", "PVC", klog.KObj(claim))
    			// No PV could be found. Try to provision one if possible.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	logger := klog.FromContext(ctx)
    	if err := ctrl.claims.Delete(claim); err != nil {
    		logger.Error(err, "Claim deletion encountered", "PVC", klog.KObj(claim))
    	}
    	claimKey := claimToClaimKey(claim)
    	logger.V(4).Info("Claim deleted", "PVC", klog.KObj(claim))
    	// clean any possible unfinished provision start timestamp from cache
    	// Unit test [5-8] [5-9]
    	ctrl.operationTimestamps.Delete(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