Documentation ¶
Overview ¶
Package pipelined provides the traditional Sensu event pipeline.
Package pipelined provides the traditional Sensu event pipeline.
Package pipelined provides the traditional Sensu event pipeline.
Package pipelined provides the traditional Sensu event pipeline.
Index ¶
Constants ¶
View Source
const ( // DefaultSocketTimeout specifies the default socket dial // timeout in seconds for TCP and UDP handlers. DefaultSocketTimeout uint32 = 60 )
View Source
const ( // PipelineCount specifies how many pipelines (goroutines) are // in action. PipelineCount int = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Store store.Store Bus messaging.MessageBus ExtensionExecutorGetter ExtensionExecutorGetterFunc AssetGetter asset.Getter }
Config configures a Pipelined.
type ExtensionExecutorGetterFunc ¶
type ExtensionExecutorGetterFunc func(*types.Extension) (rpc.ExtensionExecutor, error)
ExtensionExecutorGetterFunc gets an ExtensionExecutor. Used to decouple Pipelined from gRPC.
type Pipelined ¶
type Pipelined struct {
// contains filtered or unexported fields
}
Pipelined handles incoming Sensu events and puts them through a Sensu event pipeline, i.e. filter -> mutator -> handler. The Sensu handler configuration determines which Sensu filters and mutator are used.
func (*Pipelined) Receiver ¶
func (p *Pipelined) Receiver() chan<- interface{}
Receiver returns the event channel for pipelined.
Click to show internal directories.
Click to hide internal directories.