- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewBiMultimap (0.13 sec)
-
pkg/controller/podautoscaler/horizontal_test.go
}, } return true, obj, nil }) tc.runTest(t) } func TestConditionNoAmbiguousSelectorWhenNoSelectorOverlapBetweenHPAs(t *testing.T) { hpaSelectors := selectors.NewBiMultimap() hpaSelectors.PutSelector(selectors.Key{Name: "test-hpa-2", Namespace: testNamespace}, labels.SelectorFromSet(labels.Set{"cheddar": "cheese"})) tc := testCase{ minReplicas: 2,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal.go
scaleUpEventsLock: sync.RWMutex{}, scaleDownEvents: map[string][]timestampedScaleEvent{}, scaleDownEventsLock: sync.RWMutex{}, hpaSelectors: selectors.NewBiMultimap(), } hpaInformer.Informer().AddEventHandlerWithResyncPeriod( cache.ResourceEventHandlerFuncs{ AddFunc: hpaController.enqueueHPA, UpdateFunc: hpaController.updateHPA,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0)