syncer

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: 0 Imported by: 0

Documentation

Overview

Package syncer and its sub-packages provide the Syncer Virtual Workspace.

It exposes an APIserver URL for each SyncTarget hosting a syncer agent, with REST endpoints for APIs that have been imported from this SyncTarget and published.

It combines and integrates:

- a controller (APIReconciler) that watches for available APIResourceImports and updates the list of installed APIs for the corresponding SyncTarget (in the ./controllers package)

- a DynamicVirtualWorkspace instantiation that exposes and serve installed APIs on the right sync-target-dedicated path through CRD-like handlers (in the ../framework/dynamic package)

- a REST storage implementation, named ForwardingREST, that can dynamically serve resources by delegating to a KCP workspace-aware client-go dynamic client (in the ../framework/forwardingregistry package)

The builder package is the place where all these components are combined together, especially in the BuildVirtualWorkspace() function.

Directories

Path Synopsis
controllers
schemas

Jump to

Keyboard shortcuts

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