Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "crd-installation-controller"
ControllerName is the controller name that will be used when reporting events.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { client.Client EventRecorder record.EventRecorder RateLimiterOptions ratelimiterflag.Options }
Controller will to install ServiceExport CRD in the member clusters.
func (*Controller) Reconcile ¶
func (r *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile performs a full reconciliation for the Cluster object and installs ServiceExport CRD in the member clusters.
func (*Controller) SetupWithManager ¶
func (r *Controller) SetupWithManager(_ context.Context, mgr controllerruntime.Manager) error
SetupWithManager creates a controller and register to controller manager.
Click to show internal directories.
Click to hide internal directories.