Documentation
¶
Index ¶
- type Manager
- func (m *Manager) ForStream(id string) interop.Manager
- func (m *Manager) IntoPath(segments ...string) interop.Manager
- func (m *Manager) NewBuffer(conf buffer.Config) (buffer.Streamed, error)
- func (m *Manager) NewCache(conf cache.Config) (cache.V1, error)
- func (m *Manager) NewInput(conf linput.Config, pipelines ...processor.PipelineConstructorFunc) (input.Streamed, error)
- func (m *Manager) NewOutput(conf loutput.Config, pipelines ...processor.PipelineConstructorFunc) (output.Streamed, error)
- func (m *Manager) NewProcessor(conf lprocessor.Config) (processor.V1, error)
- func (m *Manager) NewRateLimit(conf ratelimit.Config) (ratelimit.V1, error)
- func (m *Manager) StoreCache(ctx context.Context, name string, conf cache.Config) error
- func (m *Manager) StoreInput(ctx context.Context, name string, conf linput.Config) error
- func (m *Manager) StoreOutput(ctx context.Context, name string, conf loutput.Config) error
- func (m *Manager) StoreProcessor(ctx context.Context, name string, conf lprocessor.Config) error
- func (m *Manager) StoreRateLimit(ctx context.Context, name string, conf ratelimit.Config) error
- func (m *Manager) WithAddedMetrics(m2 metrics.Type) interop.Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager provides a mock benthos manager that components can use to test interactions with fake resources.
func (*Manager) NewInput ¶
func (m *Manager) NewInput(conf linput.Config, pipelines ...processor.PipelineConstructorFunc) (input.Streamed, error)
NewInput always errors on invalid type.
func (*Manager) NewOutput ¶
func (m *Manager) NewOutput(conf loutput.Config, pipelines ...processor.PipelineConstructorFunc) (output.Streamed, error)
NewOutput always errors on invalid type.
func (*Manager) NewProcessor ¶
NewProcessor always errors on invalid type.
func (*Manager) NewRateLimit ¶
NewRateLimit always errors on invalid type.
func (*Manager) StoreCache ¶
StoreCache always errors on invalid type.
func (*Manager) StoreInput ¶
StoreInput always errors on invalid type.
func (*Manager) StoreOutput ¶
StoreOutput always errors on invalid type.
func (*Manager) StoreProcessor ¶
StoreProcessor always errors on invalid type.
func (*Manager) StoreRateLimit ¶
StoreRateLimit always errors on invalid type.
Click to show internal directories.
Click to hide internal directories.