type WorkEstimate …
func (we *WorkEstimate) MaxSeats() int { … }
type objectCountGetterFunc …
type watchCountGetterFunc …
type maxSeatsFunc …
func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCountGetterFunc, config *WorkEstimatorConfig, maxSeatsFn maxSeatsFunc) WorkEstimatorFunc { … }
type WorkEstimatorFunc …
func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { … }
type workEstimator …
func (e *workEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { … }