mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Updated width.go
This commit is contained in:
parent
3a620a3f5e
commit
ed0c2b4f3d
@ -83,7 +83,7 @@ func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCou
|
|||||||
|
|
||||||
// WorkEstimatorFunc returns the estimated work of a given request.
|
// WorkEstimatorFunc returns the estimated work of a given request.
|
||||||
// This function will be used by the Priority & Fairness filter to
|
// This function will be used by the Priority & Fairness filter to
|
||||||
// estimate the work of of incoming requests.
|
// estimate the work of incoming requests.
|
||||||
type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate
|
type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate
|
||||||
|
|
||||||
func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
|
func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
|
||||||
|
Loading…
Reference in New Issue
Block a user