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: 14 Imported by: 0

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

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

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.

Jump to

Keyboard shortcuts

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