Drop unused Endpoints-only tracking code in kube-proxy

This leaves the code in a somewhat messy state but it can be improved
further later.
This commit is contained in:
Dan Winship
2022-12-30 21:30:37 -05:00
parent c78b057d85
commit fe2b658ef5
3 changed files with 4 additions and 180 deletions

View File

@@ -518,11 +518,6 @@ func newFakeProxier(ipFamily v1.IPFamily, t time.Time) *FakeProxier {
serviceChanges: NewServiceChangeTracker(nil, ipFamily, nil, nil),
endpointsMap: make(EndpointsMap),
endpointsChanges: &EndpointChangeTracker{
hostname: testHostname,
items: make(map[types.NamespacedName]*endpointsChange),
makeEndpointInfo: nil,
ipFamily: ipFamily,
recorder: nil,
lastChangeTriggerTimes: make(map[types.NamespacedName][]time.Time),
trackerStartTime: t,
processEndpointsMapChange: nil,