package
0.20.0
Repository: https://github.com/kcp-dev/contrib-tmc.git
Documentation: pkg.go.dev

# Functions

NewLogicalClusterIndex creates an index that contains all the keys of the synced and upsynced resources, indexed by logical cluster name.
NewShardManager returns a [ShardManager] that can manage the addition or removal of shard-specific upstream virtual workspace URLs, based on a SyncTarget resource passed to the updateShards() method.
NewSyncTargetController returns a controller that watches the [workloadv1alpha1.SyncTarget] associated to this syncer.
NewSyncTargetGVRSource returns an [informer.GVRSource] that can update its list of GVRs based on a SyncTarget resource passed to the updateGVRs() method.

# Structs

ShardAccess contains clustered dynamic clients, as well as cluster-aware informer factories for both the Syncer and Upsyncer virtual workspaces associated to a Shard.

# Type aliases

No description provided by the author
GetShardAccessFunc is the type of a function that provide a [ShardAccess] from a logical cluster name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author