Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "serviceexport-propagation-controller"
ControllerName it 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 ProviderClassName string }
Controller will propagate ServiceExport resource into member clusters.
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile performs a full reconciliation for the Service object and propagates ServiceExport resource into member clusters.
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(ctx 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.