Documentation
¶
Overview ¶
Package syncmanager contains a controller that, using a DynamicMultiClusterManager, starts and stop sync controllers for each of the PublishedResources.
Index ¶
Constants ¶
View Source
const (
ControllerName = "syncagent-syncmanager"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( ctx context.Context, localManager manager.Manager, resourceProber *discovery.ResourceProber, dmcm *kcp.DynamicMultiClusterManager, log *zap.SugaredLogger, prFilter labels.Selector, stateNamespace string, agentName string, ) error
Add creates a new controller and adds it to the given manager.
Types ¶
type ClusterProviderFunc ¶ added in v0.5.0
type ClusterProviderFunc func() []string
Click to show internal directories.
Click to hide internal directories.