Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶ added in v0.4.0
CAPIProviderReconciler reconciles a CAPIProvider object.
func (*CAPIProviderReconciler) Reconcile ¶ added in v0.4.0
func (r *CAPIProviderReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles the CAPIProvider object.
func (*CAPIProviderReconciler) SetupWithManager ¶ added in v0.4.0
SetupWithManager sets up the controller with the Manager.
type RancherKubeconfigSecretReconciler ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (r *RancherKubeconfigSecretReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will setup the controller.