func newFakeController() (*Controller, agtesting.Mocks) {
	m := agtesting.NewMocks()
	wh := webhooks.NewWebHook(http.NewServeMux())
	c := NewController(wh, healthcheck.NewHandler(),
		10, 20, "sidecar:dev", false,
		resource.MustParse("0.05"), resource.MustParse("0.1"),
		resource.MustParse("50Mi"), resource.MustParse("100Mi"), "sdk-service-account",
		m.KubeClient, m.KubeInformerFactory, m.ExtClient, m.AgonesClient, m.AgonesInformerFactory)
	c.recorder = m.FakeRecorder
	return c, m
}
// newFakeController returns a controller, backed by the fake Clientset
newFakeController returns a controller, backed by the fake Clientset
// newFakeController returns a controller backed by the fake Clientset
func newFakeController() (*Controller, agtesting.Mocks) {
	m := agtesting.NewMocks()
	wh := webhooks.NewWebHook(http.NewServeMux())
	c := NewController(wh, healthcheck.NewHandler(),
		10, 20, "sidecar:dev", false,
		resource.MustParse("0.05"), resource.MustParse("0.1"),
		resource.MustParse("50Mi"), resource.MustParse("100Mi"), "sdk-service-account",
		m.KubeClient, m.KubeInformerFactory, m.ExtClient, m.AgonesClient, m.AgonesInformerFactory)
	c.recorder = m.FakeRecorder
	return c, m
}
func newFakeController ( ) ( * Controller , agtesting . Mocks ) { m := agtesting . NewMocks ( ) wh := webhooks . NewWebHook ( http . NewServeMux ( ) ) c := NewController ( wh , healthcheck . NewHandler ( ) , 10 , 20 , " " , false , resource . MustParse ( " " ) , resource . MustParse ( " " ) , resource . MustParse ( " " ) , resource . MustParse ( " " ) , " " , m . KubeClient , m . KubeInformerFactory , m . ExtClient , m . AgonesClient , m . AgonesInformerFactory ) c . recorder = m . FakeRecorder return c , m }
newFakeController returns a controller, backed by the fake Clientset
newFakeController returns a controller backed by the fake Clientset