Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewDisruptionControllerInternal (0.21 sec)

  1. 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)
  2. 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)
Back to top