// FakeNew creates new fake client for testing
// returns Client that is filled with fake clients and
// FakeClientSet that holds fake Clientsets to access Actions, Reactors etc... in fake client
FakeNew creates new fake client for testing
returns Client that is filled with fake clients and
FakeClientSet that holds fake Clientsets to access Actions, Reactors etc... in fake client
// FakeNew creates new fake client for testing // returns Client that is filled with fake clients and // FakeClientSet that holds fake Clientsets to access Actions Reactors etc ... in fake client
func FakeNew() (*Client, *FakeClientset) {
	var client Client
	var fkclientset FakeClientset
	fkclientset.Kubernetes = fakeKubeClientset.NewSimpleClientset()
	client.kubeClient = fkclientset.Kubernetes
	fkclientset.AppsClientset = fakeAppsClientset.NewSimpleClientset()
	client.appsClient = fkclientset.AppsClientset.Apps()
	fkclientset.BuildClientset = fakeBuildClientset.NewSimpleClientset()
	client.buildClient = fkclientset.BuildClientset.Build()
	fkclientset.RouteClientset = fakeRouteClientset.NewSimpleClientset()
	client.routeClient = fkclientset.RouteClientset.Route()
	fkclientset.ImageClientset = fakeImageClientset.NewSimpleClientset()
	client.imageClient = fkclientset.ImageClientset.Image()
	fkclientset.ProjClientset = fakeProjClientset.NewSimpleClientset()
	client.projectClient = fkclientset.ProjClientset.Project()
	fkclientset.BuildClientset = fakeBuildClientset.NewSimpleClientset()
	client.buildClient = fkclientset.BuildClientset.Build()
	fkclientset.ServiceCatalogClientSet = fakeServiceCatalogClientSet.NewSimpleClientset()
	client.serviceCatalogClient = fkclientset.ServiceCatalogClientSet.Servicecatalog()
	return &client, &fkclientset
}
func FakeNew ( ) ( * Client , * FakeClientset ) { var client Client var fkclientset FakeClientset fkclientset . Kubernetes = fakeKubeClientset . NewSimpleClientset ( ) client . kubeClient = fkclientset . Kubernetes fkclientset . AppsClientset = fakeAppsClientset . NewSimpleClientset ( ) client . appsClient = fkclientset . AppsClientset . Apps ( ) fkclientset . BuildClientset = fakeBuildClientset . NewSimpleClientset ( ) client . buildClient = fkclientset . BuildClientset . Build ( ) fkclientset . RouteClientset = fakeRouteClientset . NewSimpleClientset ( ) client . routeClient = fkclientset . RouteClientset . Route ( ) fkclientset . ImageClientset = fakeImageClientset . NewSimpleClientset ( ) client . imageClient = fkclientset . ImageClientset . Image ( ) fkclientset . ProjClientset = fakeProjClientset . NewSimpleClientset ( ) client . projectClient = fkclientset . ProjClientset . Project ( ) fkclientset . BuildClientset = fakeBuildClientset . NewSimpleClientset ( ) client . buildClient = fkclientset . BuildClientset . Build ( ) fkclientset . ServiceCatalogClientSet = fakeServiceCatalogClientSet . NewSimpleClientset ( ) client . serviceCatalogClient = fkclientset . ServiceCatalogClientSet . Servicecatalog ( ) return & client , & fkclientset }
FakeNew creates new fake client for testing
returns Client that is filled with fake clients and
FakeClientSet that holds fake Clientsets to access Actions, Reactors etc... in fake client
FakeNew creates new fake client for testing returns Client that is filled with fake clients and FakeClientSet that holds fake Clientsets to access Actions Reactors etc ... in fake client