Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EventReasonInternalMemberClusterHealthy is the event type and reason string when the agent is healthy. EventReasonInternalMemberClusterHealthy = "InternalMemberClusterHealthy" // EventReasonInternalMemberClusterUnhealthy is the event type and reason string when the agent is unhealthy. EventReasonInternalMemberClusterUnhealthy = "InternalMemberClusterUnhealthy" // EventReasonInternalMemberClusterJoined is the event type and reason string when the agent has joined. EventReasonInternalMemberClusterJoined = "InternalMemberClusterJoined" // EventReasonInternalMemberClusterFailedToJoin is the event type and reason string when the agent failed to join. EventReasonInternalMemberClusterFailedToJoin = "InternalMemberClusterFailedToJoin" // EventReasonInternalMemberClusterFailedToLeave is the event type and reason string when the agent failed to leave. EventReasonInternalMemberClusterFailedToLeave = "InternalMemberClusterFailedToLeave" // EventReasonInternalMemberClusterLeft is the event type and reason string when the agent left. EventReasonInternalMemberClusterLeft = "InternalMemberClusterLeft" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles a InternalMemberCluster object in the member cluster.
func NewReconciler ¶
func NewReconciler(hubClient client.Client, memberClient client.Client, workController *work.ApplyWorkReconciler) *Reconciler
NewReconciler creates a new reconciler for the internalMemberCluster CR
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.