- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for priorityLevelStates (0.2 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
} tabPrint(tabWriter, rowForHeaders(columnHeaders)) endLine(tabWriter) plNames := make([]string, 0, len(cfgCtlr.priorityLevelStates)) for plName := range cfgCtlr.priorityLevelStates { plNames = append(plNames, plName) } sort.Strings(plNames) for i := range plNames { plState, ok := cfgCtlr.priorityLevelStates[plNames[i]] if !ok { continue } queueSetDigest := plState.queues.Dump(false) activeQueueNum := 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 7.9K bytes - Viewed (0) -
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) -
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)