reconciler

package
v0.0.0-...-e314241 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointSlice

type EndpointSlice struct {
	client.Client
	Scheme *runtime.Scheme
	// GetIPsFunc is used when the endpointSlice will be reconciled to get the IPs
	// of the pods attached to the service.
	GetIPsFunc endptslice.GetIPs
}

func (*EndpointSlice) Reconcile

func (es *EndpointSlice) Reconcile(
	ctx context.Context,
	service *v1.Service,
	pods *v1.PodList,
	networks []*v1alpha1.Network,
) error

Reconcile reconciles the EndpointSlices for IPv4 and IPv6 for a specific service.

type Service

type Service struct {
	client.Client
	EndpointSliceReconciler *EndpointSlice
}

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context, gateway *gatewayapiv1.Gateway) error

Reconcile reconciles all services managed by the gateway.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳