func ReconcileHints(trafficDistribution *string, slicesToCreate, slicesToUpdate, slicesUnchanged []*discoveryv1.EndpointSlice) ([]*discoveryv1.EndpointSlice, []*discoveryv1.EndpointSlice, []*discoveryv1.EndpointSlice) { … }
type heuristic …
func endpointReady(endpoint discoveryv1.Endpoint) bool { … }
type defaultHeuristic …
func (defaultHeuristic) needsUpdate(slice *discoveryv1.EndpointSlice) bool { … }
func (defaultHeuristic) update(slice *discoveryv1.EndpointSlice) { … }
type preferCloseHeuristic …
func (preferCloseHeuristic) needsUpdate(slice *discoveryv1.EndpointSlice) bool { … }
func (preferCloseHeuristic) update(slice *discoveryv1.EndpointSlice) { … }