Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { ForStream(id string) Manager IntoPath(segments ...string) Manager WithAddedMetrics(m metrics.Type) Manager Path() []string Label() string Metrics() metrics.Type Logger() log.Modular BloblEnvironment() *bloblang.Environment RegisterEndpoint(path, desc string, h http.HandlerFunc) ProbeCache(name string) bool AccessCache(ctx context.Context, name string, fn func(cache.V1)) error ProbeInput(name string) bool AccessInput(ctx context.Context, name string, fn func(input.Streamed)) error ProbeProcessor(name string) bool AccessProcessor(ctx context.Context, name string, fn func(processor.V1)) error ProbeOutput(name string) bool AccessOutput(ctx context.Context, name string, fn func(output.Sync)) error ProbeRateLimit(name string) bool AccessRateLimit(ctx context.Context, name string, fn func(ratelimit.V1)) error GetPipe(name string) (<-chan message.Transaction, error) SetPipe(name string, t <-chan message.Transaction) UnsetPipe(name string, t <-chan message.Transaction) }
Manager is an interface expected by Benthos components that allows them to register their service wide behaviours such as HTTP endpoints and event listeners, and obtain service wide shared resources such as caches.
Directories ¶
Path | Synopsis |
---|---|
Package legacy imports old legacy component definitions (and plugins), and also walks them during init in order to register their docs and constructors using the new APIs.
|
Package legacy imports old legacy component definitions (and plugins), and also walks them during init in order to register their docs and constructors using the new APIs. |
Click to show internal directories.
Click to hide internal directories.