type staleEndpointsTracker … func newStaleEndpointsTracker() *staleEndpointsTracker { … } func (t *staleEndpointsTracker) Stale(endpoints *v1.Endpoints) { … } func (t *staleEndpointsTracker) IsStale(endpoints *v1.Endpoints) bool { … } func (t *staleEndpointsTracker) Delete(namespace, name string) { … }