Documentation ¶
Overview ¶
Package internalserviceexport features the InternalServiceExport controller for exporting services from member to the fleet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client // RetryInternal is the wait time for the controller to requeue the request and to wait for the // ServiceImport controller to resolve the service Spec. RetryInternal time.Duration }
Reconciler reconciles a InternalServiceExport object.
func (*Reconciler) Reconcile ¶
Reconcile creates/updates ServiceImport by watching internalServiceExport objects. To simplify the design and implementation in the first phase, the serviceExport will be marked as conflicted if its service spec does not match with serviceImport. We may support KEP1645 Constraints and Conflict Resolution in the future. https://github.com/kubernetes/enhancements/tree/master/keps/sig-multicluster/1645-multi-cluster-services-api#constraints-and-conflict-resolution
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.