Documentation
¶
Overview ¶
Package targetcontroller contains a controller that, using a DynamicMultiClusterManager, starts and stop sync controllers for each of the PublishedResources.
Index ¶
Constants ¶
View Source
const (
ControllerName = "initagent-target-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( ctx context.Context, mgr manager.Manager, log *zap.SugaredLogger, targetFilter labels.Selector, clusterClient kcp.ClusterClient, newInitController NewInitControllerFunc, ) error
Add creates a new controller and adds it to the given manager.
Types ¶
type NewInitControllerFunc ¶
type NewInitControllerFunc func(remoteManager mcmanager.Manager, targetProvider initcontroller.InitTargetProvider, initializer kcpcorev1alpha1.LogicalClusterInitializer) error
Click to show internal directories.
Click to hide internal directories.