Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferContext ¶
type DefaultContext ¶
type DefaultContext struct {
// contains filtered or unexported fields
}
func NewDefaultContext ¶
func NewDefaultContext(origin string, destination string) *DefaultContext
func (*DefaultContext) Destination ¶
func (d *DefaultContext) Destination() string
func (*DefaultContext) EventAllowed ¶
func (d *DefaultContext) EventAllowed(events.Envelope_EventType) bool
func (*DefaultContext) Origin ¶
func (d *DefaultContext) Origin() string
type LogAllowedContext ¶
type LogAllowedContext struct {
DefaultContext
}
func NewLogAllowedContext ¶
func NewLogAllowedContext(origin string, destination string) *LogAllowedContext
func (*LogAllowedContext) EventAllowed ¶
func (l *LogAllowedContext) EventAllowed(event events.Envelope_EventType) bool
type SystemContext ¶
type SystemContext struct {
DefaultContext
}
func NewSystemContext ¶
func NewSystemContext(origin string, destination string) *SystemContext
type TruncatingBuffer ¶
type TruncatingBuffer struct {
// contains filtered or unexported fields
}
func NewTruncatingBuffer ¶
func NewTruncatingBuffer(inputChannel <-chan *events.Envelope, bufferSize uint, context BufferContext, logger *gosteno.Logger, stopChannel chan struct{}) *TruncatingBuffer
func (*TruncatingBuffer) GetOutputChannel ¶
func (r *TruncatingBuffer) GetOutputChannel() <-chan *events.Envelope
func (*TruncatingBuffer) Run ¶
func (r *TruncatingBuffer) Run()
Click to show internal directories.
Click to hide internal directories.