Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceClusterAccess ¶ added in v0.3.0
type InstanceClusterAccess interface { MCPCluster(ctx context.Context, req reconcile.Request) (*clusters.Cluster, error) WorkloadCluster(ctx context.Context, req reconcile.Request) (*clusters.Cluster, error) }
The InstanceClusterAccess interface provides access to the MCP and Workload clusters for the Landscaper provider. This indirection is needed for injecting fake clusters in tests.
type LandscaperReconciler ¶
type LandscaperReconciler struct { PlatformCluster *clusters.Cluster OnboardingCluster *clusters.Cluster ClusterAccessReconciler clusteraccess.Reconciler Scheme *runtime.Scheme InstanceClusterAccess InstanceClusterAccess }
LandscaperReconciler reconciles a Landscaper object
func (*LandscaperReconciler) SetupWithManager ¶
func (r *LandscaperReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.