Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatingMemory ¶ added in v0.75.0
type AggregatingMemory struct {
Memory
WindowStart time.Time
WindowEnd time.Time
// contains filtered or unexported fields
}
func NewAggregatingMemoryStore ¶ added in v0.75.0
func NewAggregatingMemoryStore() *AggregatingMemory
func NewAggregatingMemoryStoreWithTimeFunc ¶ added in v0.75.0
func NewAggregatingMemoryStoreWithTimeFunc(nowFunc func() time.Time) *AggregatingMemory
used in tests when deterministic (less random) time intervals are required
func (*AggregatingMemory) GetAggregatedEvents ¶ added in v0.75.0
func (am *AggregatingMemory) GetAggregatedEvents() []*types.Event
func (*AggregatingMemory) ResetAggregationWindow ¶ added in v0.75.0
func (am *AggregatingMemory) ResetAggregationWindow() types.FlowEventAggregator
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func NewMemoryStore ¶
func NewMemoryStore() *Memory
func (*Memory) DeleteEvents ¶
func (*Memory) StoreEvent ¶
Click to show internal directories.
Click to hide internal directories.