Documentation
¶
Index ¶
- type CAPICleanupReconciler
- type CAPIImportManagementV3Reconciler
- type CAPIProviderReconciler
- func (r *CAPIProviderReconciler) BuildWithManager(ctx context.Context, mgr ctrl.Manager) (*ctrl.Builder, error)
- func (r *CAPIProviderReconciler) Reconcile(ctx context.Context, provider *turtlesv1.CAPIProvider) (_ reconcile.Result, reterr error)
- func (r *CAPIProviderReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options ctr.Options) error
- type ClusterctlConfigReconciler
- type Config
- type ConfigImage
- type OperatorReconciler
- type UIPluginReconciler
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 CAPIProviderReconciler ¶
type CAPIProviderReconciler struct {
controller.GenericProviderReconciler
client.Client
}
CAPIProviderReconciler wraps the upstream CAPIProviderReconciler.
func (*CAPIProviderReconciler) BuildWithManager ¶ added in v0.22.0
func (r *CAPIProviderReconciler) BuildWithManager(ctx context.Context, mgr ctrl.Manager) (*ctrl.Builder, error)
BuildWithManager builds the CAPIProviderReconciler.
func (*CAPIProviderReconciler) Reconcile ¶
func (r *CAPIProviderReconciler) Reconcile(ctx context.Context, provider *turtlesv1.CAPIProvider) (_ reconcile.Result, reterr error)
Reconcile wraps the upstream Reconcile method.
func (*CAPIProviderReconciler) SetupWithManager ¶
func (r *CAPIProviderReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options ctr.Options) 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 ClusterctlConfig object.
func (*ClusterctlConfigReconciler) SetupWithManager ¶ added in v0.12.0
func (r *ClusterctlConfigReconciler) SetupWithManager(_ 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 OperatorReconciler ¶ added in v0.22.0
type OperatorReconciler struct{}
OperatorReconciler is a mapping wrapper for CAPIProvider -> operator provider resources.
func (*OperatorReconciler) SetupWithManager ¶ added in v0.22.0
func (r *OperatorReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options ctr.Options) error
SetupWithManager is a mapping wrapper for CAPIProvider -> operator provider resources.
type UIPluginReconciler ¶ added in v0.17.0
UIPluginReconciler reconciles a UIPlugin object.
func (*UIPluginReconciler) Reconcile ¶ added in v0.17.0
Reconcile moves the UIPlugin into cattle-ui-plugin-system namespace.
func (*UIPluginReconciler) SetupWithManager ¶ added in v0.17.0
func (r *UIPluginReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, _ controller.Options) error
SetupWithManager sets up the controller with the Manager.