endpoints

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "syncer-endpoint-controller"
)

Variables

This section is empty.

Functions

func NewEndpointController

func NewEndpointController(
	downstreamClient dynamic.Interface,
	ddsifForDownstream *ddsif.GenericDiscoveringDynamicSharedInformerFactory[cache.SharedIndexInformer, cache.GenericLister, informers.GenericInformer],
	syncTargetClusterName logicalcluster.Name,
	syncTargetName string,
	syncTargetUID types.UID,
) (*controller, error)

NewEndpointController returns new controller which would annotate Endpoints related to synced Services, so that those Endpoints would be upsynced by the UpSyncer to the upstream KCP workspace. This would be useful to enable components such as a KNative controller (running against the KCP workspace) to see the Endpoint, and confirm that the related Service is effective.

Types

This section is empty.

Jump to

Keyboard shortcuts

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