endpoint

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

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

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

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