Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreatedByLabel = "app.kubernetes.io/created-by" CreatedByVerrazzano = "verrazzano" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RancherClusterReconciler ¶
type RancherClusterReconciler struct {
client.Client
Scheme *runtime.Scheme
ClusterSyncEnabled bool
ClusterSelector *metav1.LabelSelector
Log *zap.SugaredLogger
}
func (*RancherClusterReconciler) DeleteVMC ¶ added in v1.7.0
func (r *RancherClusterReconciler) DeleteVMC(cluster *unstructured.Unstructured) error
DeleteVMC deletes the VMC associated with a Rancher cluster
func (*RancherClusterReconciler) Reconcile ¶
func (r *RancherClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is the main controller reconcile function
func (*RancherClusterReconciler) SetupWithManager ¶
func (r *RancherClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new controller and adds it to the manager
Click to show internal directories.
Click to hide internal directories.