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.
Click to show internal directories.
Click to hide internal directories.