syncmanager

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

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

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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