Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
Pipeline processes and sends messages to the backend
func NewPipeline ¶
func NewPipeline(outputChan chan *message.Payload, processingRules []*config.ProcessingRule, endpoints *config.Endpoints, destinationsContext *client.DestinationsContext, diagnosticMessageReceiver diagnostic.MessageReceiver, serverless bool, pipelineID int, status statusinterface.Status, hostname hostnameinterface.Component, cfg pkgconfigmodel.Reader) *Pipeline
NewPipeline returns a new Pipeline
type Provider ¶
type Provider interface { Start() Stop() NextPipelineChan() chan *message.Message // Flush flushes all pipeline contained in this Provider Flush(ctx context.Context) }
Provider provides message channels
func NewMockProvider ¶
func NewMockProvider() Provider
NewMockProvider creates a new provider that will not provide any pipelines.
func NewProvider ¶
func NewProvider(numberOfPipelines int, auditor auditor.Auditor, diagnosticMessageReceiver diagnostic.MessageReceiver, processingRules []*config.ProcessingRule, endpoints *config.Endpoints, destinationsContext *client.DestinationsContext, status statusinterface.Status, hostname hostnameinterface.Component, cfg pkgconfigmodel.Reader) Provider
NewProvider returns a new Provider
func NewServerlessProvider ¶
func NewServerlessProvider(numberOfPipelines int, auditor auditor.Auditor, processingRules []*config.ProcessingRule, endpoints *config.Endpoints, destinationsContext *client.DestinationsContext, status statusinterface.Status, hostname hostnameinterface.Component, cfg pkgconfigmodel.Reader) Provider
NewServerlessProvider returns a new Provider in serverless mode
Click to show internal directories.
Click to hide internal directories.