Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAPICleanupReconciler ¶ added in v0.10.0
CAPICleanupReconciler is a reconciler for cleanup of managementv3 clusters.
func (*CAPICleanupReconciler) Reconcile ¶ added in v0.10.0
func (r *CAPICleanupReconciler) Reconcile(ctx context.Context, cluster *managementv3.Cluster) (res ctrl.Result, err error)
Reconcile performs check for clusters and removes finalizer on the clusters in deleteion still containing the turtles finalizer.
func (*CAPICleanupReconciler) SetupWithManager ¶ added in v0.10.0
func (r *CAPICleanupReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up reconciler with manager.
type CAPIImportManagementV3Reconciler ¶
type CAPIImportManagementV3Reconciler struct { Client client.Client RancherClient client.Client WatchFilterValue string Scheme *runtime.Scheme InsecureSkipVerify bool // contains filtered or unexported fields }
CAPIImportManagementV3Reconciler represents a reconciler for importing CAPI clusters in Rancher.
func (*CAPIImportManagementV3Reconciler) Reconcile ¶
func (r *CAPIImportManagementV3Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles a CAPI cluster, creating a Rancher cluster if needed and applying the import manifests.
func (*CAPIImportManagementV3Reconciler) SetupWithManager ¶
func (r *CAPIImportManagementV3Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up reconciler with manager.
type CAPIImportReconciler ¶
type CAPIImportReconciler struct { Client client.Client RancherClient client.Client WatchFilterValue string Scheme *runtime.Scheme InsecureSkipVerify bool // contains filtered or unexported fields }
CAPIImportReconciler represents a reconciler for importing CAPI clusters in Rancher.
func (*CAPIImportReconciler) Reconcile ¶
func (r *CAPIImportReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile reconciles a CAPI cluster, creating a Rancher cluster if needed and applying the import manifests.
func (*CAPIImportReconciler) SetupWithManager ¶
func (r *CAPIImportReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up reconciler with manager.
type CAPIProviderReconciler ¶
CAPIProviderReconciler reconciles a CAPIProvider object.
func (*CAPIProviderReconciler) Reconcile ¶
func (r *CAPIProviderReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles the CAPIProvider object.
func (*CAPIProviderReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type RancherKubeconfigSecretReconciler ¶
type RancherKubeconfigSecretReconciler struct { Client client.Client WatchFilterValue string Scheme *runtime.Scheme // contains filtered or unexported fields }
RancherKubeconfigSecretReconciler is a controller that will reconcile secrets created by Rancher as part of provisioning v2. Its job is to add the label required by Cluster API v1.5.0 and higher.
func (*RancherKubeconfigSecretReconciler) Reconcile ¶
func (r *RancherKubeconfigSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile will patch v2prov created kubeconfig secrets to add the required owner label if its missing.
func (*RancherKubeconfigSecretReconciler) SetupWithManager ¶
func (r *RancherKubeconfigSecretReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will setup the controller.