syncers

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GenericMessageKey = "Generic"

Variables

This section is empty.

Functions

func NewGenericDispatcher added in v0.7.0

func NewGenericDispatcher(consumer transport.Consumer, config config.AgentConfig) *genericDispatcher

func NewGenericSyncer added in v0.7.0

func NewGenericSyncer(workerPool *workers.WorkerPool, config *config.AgentConfig) *genericBundleSyncer

func NewManagedClusterLabelSyncer added in v0.7.0

func NewManagedClusterLabelSyncer(workers *workers.WorkerPool) *managedClusterLabelsBundleSyncer

Types

type Dispatcher added in v0.7.0

type Dispatcher interface {
	Start(ctx context.Context) error
	RegisterSyncer(messageID string, syncer Syncer)
}

type Syncer added in v0.7.0

type Syncer interface {
	Sync(payload []byte) error
}

Jump to

Keyboard shortcuts

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