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 UncachedClient 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, capiProvider *turtlesv1.CAPIProvider) (ctrl.Result, error)
Reconcile reconciles the CAPIProvider object.
func (*CAPIProviderReconciler) SetupWithManager ¶
func (r *CAPIProviderReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, options controller.Options) (err error)
SetupWithManager sets up the controller with the Manager.
type ClusterctlConfigReconciler ¶ added in v0.12.0
ClusterctlConfigReconciler reconciles a ClusterctlConfig object.
func (*ClusterctlConfigReconciler) Reconcile ¶ added in v0.12.0
func (r *ClusterctlConfigReconciler) Reconcile(ctx context.Context, _ reconcile.Request) (ctrl.Result, error)
Reconcile reconciles the EtcdMachineSnapshot object.
func (*ClusterctlConfigReconciler) SetupWithManager ¶ added in v0.12.0
func (r *ClusterctlConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, _ controller.Options) error
SetupWithManager sets up the controller with the Manager.
type Config ¶ added in v0.12.0
type Config struct { Providers turtlesv1.ProviderList `json:"providers"` Images map[string]ConfigImage `json:"images"` }
Config is a direct clusterctl config representation.
type ConfigImage ¶ added in v0.12.0
type ConfigImage struct { // Repository sets the container registry override to pull images from. Repository string `json:"repository,omitempty"` // Tag allows to specify a tag for the images. Tag string `json:"tag,omitempty"` }
ConfigImage is a direct clusterctl representation of image config value.
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.