type HollowProxy … type FakeProxier … func (*FakeProxier) Sync() { … } func (*FakeProxier) SyncLoop() { … } func (*FakeProxier) OnServiceAdd(service *v1.Service) { … } func (*FakeProxier) OnServiceUpdate(oldService, service *v1.Service) { … } func (*FakeProxier) OnServiceDelete(service *v1.Service) { … } func (*FakeProxier) OnServiceSynced() { … } func (*FakeProxier) OnEndpointSliceAdd(slice *discoveryv1.EndpointSlice) { … } func (*FakeProxier) OnEndpointSliceUpdate(oldSlice, slice *discoveryv1.EndpointSlice) { … } func (*FakeProxier) OnEndpointSliceDelete(slice *discoveryv1.EndpointSlice) { … } func (*FakeProxier) OnEndpointSlicesSynced() { … } func (*FakeProxier) OnServiceCIDRsChanged(_ []string) { … } func NewHollowProxy( nodeName string, client clientset.Interface, eventClient v1core.EventsGetter, broadcaster events.EventBroadcaster, recorder events.EventRecorder, ) *HollowProxy { … } func (hp *HollowProxy) Run() error { … }