- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewDisruptionControllerInternal (0.21 sec)
-
pkg/controller/disruption/disruption.go
) *DisruptionController { return NewDisruptionControllerInternal( ctx, podInformer, pdbInformer, rcInformer, rsInformer, dInformer, ssInformer, kubeClient, restMapper, scaleNamespacer, discoveryClient, clock.RealClock{}, stalePodDisruptionTimeout) } // NewDisruptionControllerInternal allows to set a clock and // stalePodDisruptionTimeout
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
fakeScaleClient := &scalefake.FakeScaleClient{} fakeDiscovery := &discoveryfake.FakeDiscovery{ Fake: &core.Fake{}, } fakeClock := clocktesting.NewFakeClock(now) dc := NewDisruptionControllerInternal( ctx, informerFactory.Core().V1().Pods(), informerFactory.Policy().V1().PodDisruptionBudgets(), informerFactory.Core().V1().ReplicationControllers(), informerFactory.Apps().V1().ReplicaSets(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0)