mock

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSystem

type EventSystem struct {
	Events []*si.EventRecord
	// contains filtered or unexported fields
}

func NewEventSystem

func NewEventSystem() *EventSystem

func NewEventSystemDisabled

func NewEventSystemDisabled() *EventSystem

func (*EventSystem) AddEvent

func (m *EventSystem) AddEvent(event *si.EventRecord)

func (*EventSystem) CreateEventStream

func (m *EventSystem) CreateEventStream(_ string, _ uint64) *events.EventStream

func (*EventSystem) GetEventStreams

func (m *EventSystem) GetEventStreams() []events.EventStreamData

func (*EventSystem) GetEventsFromID

func (m *EventSystem) GetEventsFromID(uint64, uint64) ([]*si.EventRecord, uint64, uint64)

func (*EventSystem) IsEventTrackingEnabled

func (m *EventSystem) IsEventTrackingEnabled() bool

func (*EventSystem) RemoveStream

func (m *EventSystem) RemoveStream(_ *events.EventStream)

func (*EventSystem) Reset

func (m *EventSystem) Reset()

func (*EventSystem) StartService

func (m *EventSystem) StartService()

func (*EventSystem) Stop

func (m *EventSystem) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL