Documentation ¶
Overview ¶
Package serviceexport features the ServiceExport controller for exporting a Service from a member cluster to its fleet.
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of the Reconciler.
ControllerName = "serviceexport-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { MemberClusterID string MemberClient client.Client HubClient client.Client // The namespace reserved for the current member cluster in the hub cluster. HubNamespace string Recorder record.EventRecorder }
Reconciler reconciles the export of a Service.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager builds a controller with Reconciler and sets it up with a controller manager.
Click to show internal directories.
Click to hide internal directories.