endpointslicek8s.io/endpointslice/trafficdist Index | Files

package trafficdist

import "k8s.io/endpointslice/trafficdist"

trafficdist handles reconciliation of hints for trafficDistribution field.

Index

Functions

func ReconcileHints

func ReconcileHints(trafficDistribution *string, slicesToCreate, slicesToUpdate, slicesUnchanged []*discoveryv1.EndpointSlice) ([]*discoveryv1.EndpointSlice, []*discoveryv1.EndpointSlice, []*discoveryv1.EndpointSlice)

ReconcileHints will reconcile hints for the given EndpointSlices.

EndpointSlice resources within slicesUnchanged will not be modified.

Source Files

trafficdist.go

Version
v0.32.2 (latest)
Published
Feb 13, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
2 months ago

Tools for package owners.