Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventACKer ¶
type EventACKer struct {
// contains filtered or unexported fields
}
func NewEventACKer ¶
func NewEventACKer(config *config.Config) (*EventACKer, error)
func (*EventACKer) ACKCount ¶
func (a *EventACKer) ACKCount(i int)
func (*EventACKer) ACKLastEvent ¶
func (a *EventACKer) ACKLastEvent(data []interface{})
ACKEvents receives callbacks from the publisher for every event that is published. It persists the record number of the last event in each
func (*EventACKer) Active ¶
func (a *EventACKer) Active() int
Active returns the number of active events (published but not yet ACKed).
func (*EventACKer) Add ¶
func (a *EventACKer) Add(delta int)
Add adds to the number of active events.
func (*EventACKer) Wait ¶
func (a *EventACKer) Wait(ctx context.Context)
Wait waits for all events to be ACKed or for the context to be done.
type LogProcessor ¶
type LogProcessor struct {
// contains filtered or unexported fields
}
func NewLogProcessor ¶
func (*LogProcessor) Process ¶
func (lp *LogProcessor) Process(done chan struct{})
func (*LogProcessor) ScanForUpdatedBlobs ¶
func (lp *LogProcessor) ScanForUpdatedBlobs(wg *sync.WaitGroup)
type NsgMessage ¶
type NsgMessageFlow ¶
type NsgMessageFlow struct { Rule string `json:"rule"` Flows []NsgRuleFlow `json:"flows"` }
type NsgMessageProperties ¶
type NsgMessageProperties struct { Version int `json:"Version"` Flows []NsgMessageFlow `json:"flows"` }
type NsgRuleFlow ¶
type ReaderQueueItem ¶
Click to show internal directories.
Click to hide internal directories.