Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for delayBinding (0.1 sec)

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

    func (pvIndex *persistentVolumeOrderedIndex) findBestMatchForClaim(claim *v1.PersistentVolumeClaim, delayBinding bool) (*v1.PersistentVolume, error) {
    	return pvIndex.findByClaim(claim, delayBinding)
    }
    
    // allPossibleMatchingAccessModes returns an array of AccessMode arrays that
    // can satisfy a user's requested modes.
    //
    // see comments in the Find func above regarding indexing.
    //
    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

    	logger := klog.FromContext(ctx)
    	if claim.Spec.VolumeName == "" {
    		// User did not care which PV they get.
    		delayBinding, err := storagehelpers.IsDelayBindingMode(claim, ctrl.classLister)
    		if err != nil {
    			return err
    		}
    
    		// [Unit test set 1]
    		volume, err := ctrl.volumes.findBestMatchForClaim(claim, delayBinding)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top