sysconfig

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameGeneratorProvider added in v0.4.0

type NameGeneratorProvider = func(
	*config.Config, namingstrategy.NamingStrategy,
) schema.NameGenerator

type PublicationManagerProvider added in v0.4.0

type PublicationManagerProvider = func(
	*config.Config, sidechannel.SideChannel,
) publication.PublicationManager

type ReplicationContextProvider added in v0.4.0

type ReplicationContextProvider func(
	*config.Config, *pgx.ConnConfig, statestorage.Manager, sidechannel.SideChannel,
) (replicationcontext.ReplicationContext, error)

type SideChannelProvider added in v0.4.0

type SideChannelProvider = func(
	statestorage.Manager, *pgx.ConnConfig,
) (sidechannel.SideChannel, error)

type SinkManagerProvider added in v0.4.0

type SinkManagerProvider = func(
	statestorage.Manager, sink.Sink,
) sink.Manager

type StateStorageManagerProvider added in v0.4.0

type StateStorageManagerProvider = func(
	statestorage.Storage,
) statestorage.Manager

type StreamManagerProvider added in v0.4.0

type StreamManagerProvider = func(
	schema.NameGenerator, pgtypes.TypeManager, sink.Manager,
) (stream.Manager, error)

type SystemConfig

type SystemConfig struct {
	*spiconfig.Config

	PgxConfig                          *pgx.ConnConfig
	EventEmitterProvider               EventEmitterProvider
	LogicalReplicationResolverProvider LogicalReplicationResolverProvider
	NameGeneratorProvider              NameGeneratorProvider
	NamingStrategyProvider             namingstrategy.Factory
	ReplicationChannelProvider         ReplicationChannelProvider
	ReplicationContextProvider         ReplicationContextProvider
	SideChannelProvider                SideChannelProvider
	SinkFactory                        sink.Factory
	SinkManagerProvider                SinkManagerProvider
	SnapshotterProvider                SnapshotterProvider
	StateStorageProvider               statestorage.StorageProvider
	StateStorageManagerProvider        StateStorageManagerProvider
	StreamManagerProvider              StreamManagerProvider
	SystemCatalogProvider              SystemCatalogProvider
	TypeManagerProvider                TypeManagerProvider
	TaskManagerProvider                TaskManagerProvider
	PublicationManagerProvider         PublicationManagerProvider
}

func NewSystemConfig

func NewSystemConfig(
	config *spiconfig.Config,
) *SystemConfig

type TaskManagerProvider added in v0.4.0

type TaskManagerProvider = func(
	*config.Config,
) (task.TaskManager, error)

type TypeManagerProvider added in v0.4.0

type TypeManagerProvider = func(
	sidechannel.SideChannel,
) (pgtypes.TypeManager, error)

Jump to

Keyboard shortcuts

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