benthos_environment

package
v0.4.46 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *RegisterConfig) (*service.Environment, error)

func NewWithEnvironment

func NewWithEnvironment(env *service.Environment, config *RegisterConfig) (*service.Environment, error)

Types

type MongoConfig

type MongoConfig struct {
	Provider neosync_benthos_mongodb.MongoPoolProvider
}

type RegisterConfig

type RegisterConfig struct {
	Meter metric.Meter // nil to disable

	SqlConfig *SqlConfig // nil to disable

	MongoConfig *MongoConfig // nil to disable

	StopChannel chan<- error
}

type SqlConfig

type SqlConfig struct {
	Provider neosync_benthos_sql.DbPoolProvider
	IsRetry  bool
}

Jump to

Keyboard shortcuts

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