package endpoint
import "k8s.io/kubernetes/pkg/controller/endpoint"
Package endpoint provides EndpointController implementation to manage and sync service endpoints.
Index ¶
- type Controller
- func NewEndpointController(ctx context.Context, podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer, endpointsInformer coreinformers.EndpointsInformer, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration) *Controller
- func (e *Controller) Run(ctx context.Context, workers int)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages selector-based service endpoints.
func NewEndpointController ¶
func NewEndpointController(ctx context.Context, podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer, endpointsInformer coreinformers.EndpointsInformer, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration) *Controller
NewEndpointController returns a new *Controller.
func (*Controller) Run ¶
func (e *Controller) Run(ctx context.Context, workers int)
Run will not return until stopCh is closed. workers determines how many endpoints will be handled in parallel.
Source Files ¶
doc.go endpoints_controller.go endpoints_tracker.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controller/endpoint/config | |
pkg/controller/endpoint/config/v1alpha1 |
- Version
- v1.30.9
- Published
- Jan 15, 2025
- Platform
- js/wasm
- Imports
- 32 packages
- Last checked
- 10 seconds ago –
Tools for package owners.