Documentation ¶
Overview ¶
Package foreignclusteroperator implements the logic of the ForeignCluster Operator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForeignClusterReconciler ¶
type ForeignClusterReconciler struct { client.Client Scheme *runtime.Scheme LiqoNamespace string ResyncPeriod time.Duration HomeCluster discoveryv1alpha1.ClusterIdentity AuthServiceAddressOverride string AuthServicePortOverride string AutoJoin bool NamespaceManager tenantnamespace.Manager IdentityManager identitymanager.IdentityManager PeeringPermission peeringRoles.PeeringPermission InsecureTransport *http.Transport SecureTransport *http.Transport // The map associates the local tenant namespaces (keys) to the related foreignclusters (values). ForeignClusters sync.Map }
ForeignClusterReconciler reconciles a ForeignCluster object.
func (*ForeignClusterReconciler) Reconcile ¶
func (r *ForeignClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile reconciles ForeignCluster resources.
func (*ForeignClusterReconciler) SetupWithManager ¶
func (r *ForeignClusterReconciler) SetupWithManager(mgr ctrl.Manager, workers uint) error
SetupWithManager assigns the operator to a manager.
Click to show internal directories.
Click to hide internal directories.