Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for priorityLevelStates (0.15 sec)

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

    	// A lock for writing is needed
    	// for writing to any of the following:
    	// - the flowSchemas field
    	// - the slice held in the flowSchemas field
    	// - the priorityLevelStates field
    	// - the map held in the priorityLevelStates field
    	// - any field of a priorityLevelState held in that map
    	lock sync.RWMutex
    
    	// flowSchemas holds the flow schema objects, sorted by increasing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    func (cfgCtlr *configController) hasPriorityLevelState(plName string) bool {
    	cfgCtlr.lock.Lock()
    	defer cfgCtlr.lock.Unlock()
    	return cfgCtlr.priorityLevelStates[plName] != nil
    }
    
    type ctlrTestState struct {
    	t               *testing.T
    	cfgCtlr         *configController
    	fcIfc           fcclient.FlowcontrolV1Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top