type ServiceHandler …
type EndpointSliceHandler …
type EndpointSliceConfig …
func NewEndpointSliceConfig(ctx context.Context, endpointSliceInformer discoveryv1informers.EndpointSliceInformer, resyncPeriod time.Duration) *EndpointSliceConfig { … }
func (c *EndpointSliceConfig) RegisterEventHandler(handler EndpointSliceHandler) { … }
func (c *EndpointSliceConfig) Run(stopCh <-chan struct{ … }
func (c *EndpointSliceConfig) handleAddEndpointSlice(obj interface{ … }
func (c *EndpointSliceConfig) handleUpdateEndpointSlice(oldObj, newObj interface{ … }
func (c *EndpointSliceConfig) handleDeleteEndpointSlice(obj interface{ … }
type ServiceConfig …
func NewServiceConfig(ctx context.Context, serviceInformer v1informers.ServiceInformer, resyncPeriod time.Duration) *ServiceConfig { … }
func (c *ServiceConfig) RegisterEventHandler(handler ServiceHandler) { … }
func (c *ServiceConfig) Run(stopCh <-chan struct{ … }
func (c *ServiceConfig) handleAddService(obj interface{ … }
func (c *ServiceConfig) handleUpdateService(oldObj, newObj interface{ … }
func (c *ServiceConfig) handleDeleteService(obj interface{ … }
type NodeHandler …
type NoopNodeHandler …
func (*NoopNodeHandler) OnNodeAdd(node *v1.Node) { … }
func (*NoopNodeHandler) OnNodeUpdate(oldNode, node *v1.Node) { … }
func (*NoopNodeHandler) OnNodeDelete(node *v1.Node) { … }
func (*NoopNodeHandler) OnNodeSynced() { … }
var _ …
type NodeConfig …
func NewNodeConfig(ctx context.Context, nodeInformer v1informers.NodeInformer, resyncPeriod time.Duration) *NodeConfig { … }
func (c *NodeConfig) RegisterEventHandler(handler NodeHandler) { … }
func (c *NodeConfig) Run(stopCh <-chan struct{ … }
func (c *NodeConfig) handleAddNode(obj interface{ … }
func (c *NodeConfig) handleUpdateNode(oldObj, newObj interface{ … }
func (c *NodeConfig) handleDeleteNode(obj interface{ … }
type ServiceCIDRHandler …
type ServiceCIDRConfig …
func NewServiceCIDRConfig(ctx context.Context, serviceCIDRInformer networkingv1beta1informers.ServiceCIDRInformer, resyncPeriod time.Duration) *ServiceCIDRConfig { … }
func (c *ServiceCIDRConfig) RegisterEventHandler(handler ServiceCIDRHandler) { … }
func (c *ServiceCIDRConfig) Run(stopCh <-chan struct{ … }
func (c *ServiceCIDRConfig) handleServiceCIDREvent(oldObj, newObj interface{ … }