Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FlowSchemaName (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go

    // estimate the work of of incoming requests.
    type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate
    
    func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
    	return e(r, flowSchemaName, priorityLevelName)
    }
    
    type workEstimator struct {
    	// the minimum number of seats a request must occupy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    }
    
    type mutatingWorkEstimator struct {
    	config     *WorkEstimatorConfig
    	countFn    watchCountGetterFunc
    	maxSeatsFn maxSeatsFunc
    }
    
    func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
    	minSeats := e.config.MinimumSeats
    	maxSeats := e.maxSeatsFn(priorityLevelName)
    	if maxSeats == 0 || maxSeats > e.config.MaximumSeatsLimit {
    		maxSeats = e.config.MaximumSeatsLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go

    	}
    	panicking = false
    }
    
    func observeQueueWaitTime(ctx context.Context, priorityLevelName, flowSchemaName, execute string, waitTime time.Duration) {
    	metrics.ObserveWaitingDuration(ctx, priorityLevelName, flowSchemaName, execute, waitTime)
    	endpointsrequest.TrackAPFQueueWaitLatency(ctx, waitTime)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go

    	includeRequestDetails := len(r.URL.Query().Get(queryIncludeRequestDetails)) > 0
    
    	tabWriter := tabwriter.NewWriter(w, 8, 0, 1, ' ', 0)
    	tabPrint(tabWriter, rowForHeaders([]string{
    		"PriorityLevelName",   // 1
    		"FlowSchemaName",      // 2
    		"QueueIndex",          // 3
    		"RequestIndexInQueue", // 4
    		"FlowDistingsher",     // 5
    		"ArriveTime",          // 6
    		"InitialSeats",        // 7
    		"FinalSeats",          // 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go

    }
    
    type listWorkEstimator struct {
    	config        *WorkEstimatorConfig
    	countGetterFn objectCountGetterFunc
    	maxSeatsFn    maxSeatsFunc
    }
    
    func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
    	minSeats := e.config.MinimumSeats
    	maxSeats := e.maxSeatsFn(priorityLevelName)
    	if maxSeats == 0 || maxSeats > e.config.MaximumSeatsLimit {
    		maxSeats = e.config.MaximumSeatsLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top