Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StaticBindings (0.2 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder.go

    		}
    	}()
    
    	var (
    		staticBindings    []*BindingInfo
    		dynamicProvisions []*v1.PersistentVolumeClaim
    	)
    	defer func() {
    		// Although we do not distinguish nil from empty in this function, for
    		// easier testing, we normalize empty to nil.
    		if len(staticBindings) == 0 {
    			staticBindings = nil
    		}
    		if len(dynamicProvisions) == 0 {
    			dynamicProvisions = nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	state.Lock()
    	state.podVolumesByNode[node.Name] = podVolumes
    	state.hasStaticBindings = state.hasStaticBindings || (podVolumes != nil && len(podVolumes.StaticBindings) > 0)
    	state.Unlock()
    	return nil
    }
    
    // PreScore invoked at the preScore extension point. It checks whether volumeBinding can skip Score
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	var (
    		bindings          []*BindingInfo
    		provisionedClaims []*v1.PersistentVolumeClaim
    	)
    	if podVolumes != nil {
    		bindings = podVolumes.StaticBindings
    		provisionedClaims = podVolumes.DynamicProvisions
    	}
    	if aLen, eLen := len(bindings), len(expectedBindings); aLen != eLen {
    		t.Errorf("expected %v bindings, got %v", eLen, aLen)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top