Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddAKODeploymentConfigAndClusterControllerToMgrFunc builder.AddToManagerFunc = func(mgr ctrlmgr.Manager) error { rec := &akodeploymentconfig.AKODeploymentConfigReconciler{ Client: mgr.GetClient(), Log: ctrl.Log.WithName("controllers").WithName("AKODeploymentConfig"), Scheme: mgr.GetScheme(), } builder.FakeAvi = aviclient.NewFakeAviClient() rec.SetAviClient(builder.FakeAvi) adcClusterReconciler := adccluster.NewReconciler(rec.Client, rec.Log, rec.Scheme) adcClusterReconciler.GetRemoteClient = adccluster.GetFakeRemoteClient rec.ClusterReconciler = adcClusterReconciler if err := rec.SetupWithManager(mgr); err != nil { return err } if err := (&cluster.ClusterReconciler{ Client: mgr.GetClient(), Log: ctrl.Log.WithName("controllers").WithName("Cluster"), Scheme: mgr.GetScheme(), }).SetupWithManager(mgr); err != nil { return err } return nil }
View Source
var AddAllToSchemeFunc builder.AddToSchemeFunc = func(scheme *runtime.Scheme) (err error) { err = networkv1alpha1.AddToScheme(scheme) if err != nil { return err } err = akoov1alpha1.AddToScheme(scheme) if err != nil { return err } err = akov1alpha1.AddToScheme(scheme) if err != nil { return err } err = corev1.AddToScheme(scheme) if err != nil { return err } err = clusterv1.AddToScheme(scheme) if err != nil { return err } return nil }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.