- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for staticBindings (0.16 sec)
-
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) -
pkg/scheduler/framework/plugins/volumebinding/volume_binding.go
if !ok { return 0, nil } // group by storage class classResources := make(classResourceMap) for _, staticBinding := range podVolumes.StaticBindings { class := staticBinding.StorageClassName() storageResource := staticBinding.StorageResource() if _, ok := classResources[class]; !ok { classResources[class] = &StorageResource{ Requested: 0, Capacity: 0, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 16.4K bytes - Viewed (0) -
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)