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( processingRules []*config.ProcessingRule, endpoints *config.Endpoints, senderImpl sender.PipelineComponent, diagnosticMessageReceiver diagnostic.MessageReceiver, serverless bool, flushWg *sync.WaitGroup, hostname hostnameinterface.Component, cfg pkgconfigmodel.Reader, compression logscompression.Component, ) *Pipeline
NewPipeline returns a new Pipeline
type Provider ¶
type Provider interface { Start() Stop() ReconfigureSDSStandardRules(standardRules []byte) (bool, error) ReconfigureSDSAgentConfig(config []byte) (bool, error) StopSDSProcessing() error NextPipelineChan() chan *message.Message GetOutputChan() chan *message.Message NextPipelineChanWithMonitor() (chan *message.Message, metrics.PipelineMonitor) // 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 NewProcessorOnlyProvider ¶ added in v0.62.0
func NewProcessorOnlyProvider(diagnosticMessageReceiver diagnostic.MessageReceiver, processingRules []*config.ProcessingRule, cfg pkgconfigmodel.Reader, hostname hostnameinterface.Component) Provider
NewProcessorOnlyProvider is used by the logs check subcommand as the feature does not require the functionalities of the log pipeline other then the processor.
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, compression logscompression.Component, legacyMode bool, serverless bool, ) Provider
NewProvider returns a new Provider
Click to show internal directories.
Click to hide internal directories.