- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for maxSeatsFn (0.35 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go
estimator := &mutatingWorkEstimator{ config: config, countFn: countFn, maxSeatsFn: maxSeatsFn, } return estimator.estimate } type mutatingWorkEstimator struct { config *WorkEstimatorConfig countFn watchCountGetterFunc maxSeatsFn maxSeatsFunc }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:26:52 UTC 2023 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go
estimator := &listWorkEstimator{ config: config, countGetterFn: countFn, maxSeatsFn: maxSeatsFn, } return estimator.estimate } type listWorkEstimator struct { config *WorkEstimatorConfig countGetterFn objectCountGetterFunc maxSeatsFn maxSeatsFunc }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go
estimator := &workEstimator{ minimumSeats: config.MinimumSeats, maximumSeatsLimit: config.MaximumSeatsLimit, listWorkEstimator: newListWorkEstimator(objectCountFn, config, maxSeatsFn), mutatingWorkEstimator: newMutatingWorkEstimator(watchCountFn, config, maxSeatsFn), } return estimator.estimate }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:26:52 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
return counts[key], test.countErr } watchCountsFn := func(_ *apirequest.RequestInfo) int { return test.watchCount } maxSeatsFn := func(_ string) uint64 { return test.maxSeats } estimator := NewWorkEstimator(countsFn, watchCountsFn, defaultCfg, maxSeatsFn) req, err := http.NewRequest("GET", test.requestURI, nil) if err != nil { t.Fatalf("Failed to create new HTTP request - %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0)