Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + type EndpointSliceConfig struct + func NewEndpointSliceConfig(endpointSliceInformer discoveryinformers.EndpointSliceInformer, ...) *EndpointSliceConfig + func (c *EndpointSliceConfig) RegisterEventHandler(handler EndpointSliceHandler) + func (c *EndpointSliceConfig) Run(stopCh <-chan struct{}) + type EndpointSliceHandler interface + OnEndpointSliceAdd func(endpointSlice *discovery.EndpointSlice) + OnEndpointSliceDelete func(endpointSlice *discovery.EndpointSlice) + OnEndpointSliceUpdate func(oldEndpointSlice, newEndpointSlice *discovery.EndpointSlice) + OnEndpointSlicesSynced func() + type EndpointsConfig struct + func NewEndpointsConfig(endpointsInformer coreinformers.EndpointsInformer, resyncPeriod time.Duration) *EndpointsConfig + func (c *EndpointsConfig) RegisterEventHandler(handler EndpointsHandler) + func (c *EndpointsConfig) Run(stopCh <-chan struct{}) + type EndpointsHandler interface + OnEndpointsAdd func(endpoints *v1.Endpoints) + OnEndpointsDelete func(endpoints *v1.Endpoints) + OnEndpointsSynced func() + OnEndpointsUpdate func(oldEndpoints, endpoints *v1.Endpoints) + type NoopEndpointSliceHandler struct + func (*NoopEndpointSliceHandler) OnEndpointSliceAdd(endpointSlice *discovery.EndpointSlice) + func (*NoopEndpointSliceHandler) OnEndpointSliceDelete(endpointSlice *discovery.EndpointSlice) + func (*NoopEndpointSliceHandler) OnEndpointSliceUpdate(oldEndpointSlice, newEndpointSlice *discovery.EndpointSlice) + func (*NoopEndpointSliceHandler) OnEndpointSlicesSynced() + type ServiceConfig struct + func NewServiceConfig(serviceInformer coreinformers.ServiceInformer, resyncPeriod time.Duration) *ServiceConfig + func (c *ServiceConfig) RegisterEventHandler(handler ServiceHandler) + func (c *ServiceConfig) Run(stopCh <-chan struct{}) + type ServiceHandler interface + OnServiceAdd func(service *v1.Service) + OnServiceDelete func(service *v1.Service) + OnServiceSynced func() + OnServiceUpdate func(oldService, service *v1.Service)