type EndpointSliceCache …
type endpointSliceTracker …
type endpointSliceDataByName …
type endpointSliceData …
func NewEndpointSliceCache(hostname string, ipFamily v1.IPFamily, recorder events.EventRecorder, makeEndpointInfo makeEndpointFunc) *EndpointSliceCache { … }
func newEndpointSliceTracker() *endpointSliceTracker { … }
func standardEndpointInfo(ep *BaseEndpointInfo, _ *ServicePortName) Endpoint { … }
func (cache *EndpointSliceCache) updatePending(endpointSlice *discovery.EndpointSlice, remove bool) bool { … }
func (cache *EndpointSliceCache) checkoutChanges() map[types.NamespacedName]*endpointsChange { … }
type spToEndpointMap …
func (cache *EndpointSliceCache) getEndpointsMap(serviceNN types.NamespacedName, sliceDataByName endpointSliceDataByName) EndpointsMap { … }
func (cache *EndpointSliceCache) endpointInfoByServicePort(serviceNN types.NamespacedName, sliceDataByName endpointSliceDataByName) spToEndpointMap { … }
func (cache *EndpointSliceCache) addEndpoints(svcPortName *ServicePortName, portNum int, endpointSet map[string]Endpoint, endpoints []discovery.Endpoint) map[string]Endpoint { … }
func (cache *EndpointSliceCache) isLocal(hostname string) bool { … }
func (cache *EndpointSliceCache) esDataChanged(serviceKey types.NamespacedName, sliceKey string, esData *endpointSliceData) bool { … }
func endpointsMapFromEndpointInfo(endpointInfoBySP map[ServicePortName]map[string]Endpoint) EndpointsMap { … }
func formatEndpointsList(endpoints []Endpoint) []string { … }
func endpointSliceCacheKeys(endpointSlice *discovery.EndpointSlice) (types.NamespacedName, string, error) { … }
type byEndpoint …
func (e byEndpoint) Len() int { … }
func (e byEndpoint) Swap(i, j int) { … }
func (e byEndpoint) Less(i, j int) bool { … }