internalserviceexport

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

package internalserviceexport features the InternalServiceExport controller for reporting back conflict resolution status from the fleet to a member cluster.

Index

Constants

View Source
const (
	// ControllerName is the name of the Reconciler.
	ControllerName = "internalserviceexport-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
	Recorder        record.EventRecorder
}

Reconciler reconciles the update of an InternalServiceExport.

func (*Reconciler) Reconcile

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

Reconcile reports back whether an export of a Service has been accepted with no conflict detected.

func (*Reconciler) SetupWithManager

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

SetupWithManager builds a controller with InternalSvcExportReconciler and sets it up with a (multi-namespaced) controller manager.

Jump to

Keyboard shortcuts

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