shadowendpointslicectrl

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package shadowendpointslicectrl contains the ShadowEndpointSlice logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointHintsApply

EndpointHintsApply forges the apply patch for the endpoint hints of the reflected endpointslice, given the local ones.

func EndpointPortsApply

EndpointPortsApply forges the apply patch for the ports of the reflected endpointslice, given the local ones.

func EndpointSliceApply

EndpointSliceApply forges the apply patch for the endpointslice.

func EndpointsApply

func EndpointsApply(endpoints []discoveryv1.Endpoint) []*discoveryv1apply.EndpointApplyConfiguration

EndpointsApply forges the apply patch for the endpoints of the reflected endpointslice, given the local ones.

func ObjectReferenceApply

ObjectReferenceApply forges the apply patch for a reflected ObjectReference.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

Reconciler reconciles a ShadowEndpointSlice object.

func (*Reconciler) Reconcile

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

Reconcile ShadowEndpointSlices objects.

func (*Reconciler) SetupWithManager

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

SetupWithManager monitors updates on ShadowEndpointSlices.

Jump to

Keyboard shortcuts

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