endpoint

package
v1.25.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 30 Imported by: 163

Documentation

Overview

Package endpoint provides EndpointController implementation to manage and sync service endpoints.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v1.20.0

type Controller struct {
	// contains filtered or unexported fields
}

Controller manages selector-based service endpoints.

func NewEndpointController

func NewEndpointController(podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer,
	endpointsInformer coreinformers.EndpointsInformer, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration) *Controller

NewEndpointController returns a new *Controller.

func (*Controller) Run added in v1.20.0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL