const overloadThreshold …
type TopologyCache …
type EndpointZoneInfo …
type allocation …
func NewTopologyCache() *TopologyCache { … }
func (t *TopologyCache) GetOverloadedServices() []string { … }
func (t *TopologyCache) AddHints(logger klog.Logger, si *SliceInfo) ([]*discovery.EndpointSlice, []*discovery.EndpointSlice, []*EventBuilder) { … }
func (t *TopologyCache) SetHints(serviceKey string, addrType discovery.AddressType, allocatedHintsByZone EndpointZoneInfo) { … }
func (t *TopologyCache) setHintsLocked(serviceKey string, addrType discovery.AddressType, allocatedHintsByZone EndpointZoneInfo) { … }
func (t *TopologyCache) RemoveHints(serviceKey string, addrType discovery.AddressType) { … }
func (t *TopologyCache) SetNodes(logger klog.Logger, nodes []*v1.Node) { … }
func (t *TopologyCache) HasPopulatedHints(serviceKey string) bool { … }
func (t *TopologyCache) hasPopulatedHintsLocked(serviceKey string) bool { … }
func (t *TopologyCache) getAllocations(numEndpoints int) (map[string]allocation, *EventBuilder) { … }
func hasExcludedLabels(labels map[string]string) bool { … }