endpointsliceexport

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package endpointsliceexport features the EndpointSliceExport controller running on the hub cluster, which is responsible for distributing EndpointSlices exported from member clusters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	HubClient client.Client
}

Reconciler reconciles the distribution of EndpointSlices across the fleet.

func (*Reconciler) Reconcile

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

Reconcile distributes an exported EndpointSlice (in the form of EndpointSliceExports) to whichever member cluster that has imported the EndpointSlice's owner Service.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the EndpointSliceExport controller with a controller manager.

Jump to

Keyboard shortcuts

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