Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperatorNamespace = "clusterlink-operator" InstanceNamespace = "clusterlink-system" FinalizerName = "instance.clusterlink.net/finalizer" StatusModeNotExist = "NotExist" StatusModeProgressing = "ProgressingMode" StatusModeReady = "Ready" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceReconciler ¶
type InstanceReconciler struct { client.Client Scheme *runtime.Scheme Logger *logrus.Entry Instances map[string]string }
InstanceReconciler reconciles a ClusterLink instance object.
func (*InstanceReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. The reconcile get instance YAML and creates the ClusterLink components.
func (*InstanceReconciler) SetupWithManager ¶
func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.