endpointslicemirroring

package
v1.21.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// FailedToListEndpointSlices indicates the controller has failed to list
	// EndpointSlices.
	FailedToListEndpointSlices = "FailedToListEndpointSlices"
	// FailedToUpdateEndpointSlices indicates the controller has failed to
	// update EndpointSlices.
	FailedToUpdateEndpointSlices = "FailedToUpdateEndpointSlices"
	// InvalidIPAddress indicates that an IP address found in an Endpoints
	// resource is invalid.
	InvalidIPAddress = "InvalidIPAddress"
	// TooManyAddressesToMirror indicates that some addresses were not mirrored
	// due to an EndpointSubset containing more addresses to mirror than
	// MaxEndpointsPerSubset allows.
	TooManyAddressesToMirror = "TooManyAddressesToMirror"
)

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 endpoint slices

func NewController

func NewController(endpointsInformer coreinformers.EndpointsInformer,
	endpointSliceInformer discoveryinformers.EndpointSliceInformer,
	serviceInformer coreinformers.ServiceInformer,
	maxEndpointsPerSubset int32,
	client clientset.Interface,
	endpointUpdatesBatchPeriod time.Duration,
) *Controller

NewController creates and initializes a new Controller

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{})

Run will not return until stopCh is closed.

type StaleInformerCache added in v1.19.9

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

StaleInformerCache errors indicate that the informer cache includes out of date resources.

func (*StaleInformerCache) Error added in v1.19.9

func (e *StaleInformerCache) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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