v1beta1

package
v0.2.7-experimental Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	MemberClient client.Client
	HubClient    client.Client
	AgentType    clusterv1beta1.AgentType
}

Reconciler reconciles a InternalMemberCluster object.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile handles join/leave for the member cluster controllers and updates its heartbeats. For the MCS controller, it needs to delete created MCS related in the member clusters. For the ServiceExportImport controllers, it needs to delete created serviceExported related in the member clusters.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL