Help us shape the future of Go! Take the 2026 Go Developer Survey

endpoint

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchingEndpoints

func MatchingEndpoints(svcNames []string) predicate.Predicate

MatchingEndpoints is a predicate to allow events for only configured endpoints

func ReadyEndpoints

func ReadyEndpoints(logger logr.Logger) predicate.Predicate

ReadyEndpoints is a predicate to allow events for only ready endpoints. Endpoint is considered ready when there is at least a single endpoint subset that has at least one IP address assigned.

Types

type Reconciler

type Reconciler struct {
	Client                  client.Client
	SeedClient              kubernetes.Interface
	WeederConfig            *wapi.Config
	WeederMgr               weeder.Manager
	MaxConcurrentReconciles int
}

Reconciler EndpointReconciler reconciles an Endpoints object

func (*Reconciler) Reconcile

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

Reconcile listens to create/update events for `Endpoints` resources and manages weeder which shoot the dependent pods of the configured services, if necessary

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