endpointsliceexport

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package endpointsliceexport features the EndpointSliceExport controller for cleaning up left over EndpointSlices on the hub cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	MemberClient client.Client
	HubClient    client.Client
}

func (*Reconciler) Reconcile

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

Reconcile verifies if an EndpointSliceExport in the hub cluster matches with a exported EndpointSlice from the current member cluster, and will clean up EndpointSliceExports that fail to match.

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.

Jump to

Keyboard shortcuts

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