Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventStore ¶ added in v1.42.0
func NewEventStore[T exporter.ExportableEvent]() exporter.EventStore[T]
Types ¶
type Exporter ¶
type Exporter struct { ExportedEvents []exporter.ExportableEvent Err error ExpectedNumberErr int CurrentNumberErr int Bulk bool // contains filtered or unexported fields }
func (*Exporter) GetExportedEvents ¶
func (m *Exporter) GetExportedEvents() []exporter.ExportableEvent
type ExporterDeprecated ¶ added in v1.42.0
type ExporterDeprecated struct { ExportedEvents []exporter.FeatureEvent Err error ExpectedNumberErr int CurrentNumberErr int Bulk bool // contains filtered or unexported fields }
ExporterDeprecated -----
func (*ExporterDeprecated) Export ¶ added in v1.42.0
func (m *ExporterDeprecated) Export( _ context.Context, _ *log.Logger, events []exporter.FeatureEvent, ) error
func (*ExporterDeprecated) GetExportedEvents ¶ added in v1.42.0
func (m *ExporterDeprecated) GetExportedEvents() []exporter.ExportableEvent
func (*ExporterDeprecated) IsBulk ¶ added in v1.42.0
func (m *ExporterDeprecated) IsBulk() bool
type ExporterDeprecatedV2 ¶ added in v1.44.0
type ExporterDeprecatedV2 struct { ExportedEvents []exporter.FeatureEvent Err error ExpectedNumberErr int CurrentNumberErr int Bulk bool // contains filtered or unexported fields }
ExporterDeprecatedV2 -----
func (*ExporterDeprecatedV2) Export ¶ added in v1.44.0
func (m *ExporterDeprecatedV2) Export( _ context.Context, _ *fflog.FFLogger, events []exporter.FeatureEvent, ) error
func (*ExporterDeprecatedV2) GetExportedEvents ¶ added in v1.44.0
func (m *ExporterDeprecatedV2) GetExportedEvents() []exporter.ExportableEvent
func (*ExporterDeprecatedV2) IsBulk ¶ added in v1.44.0
func (m *ExporterDeprecatedV2) IsBulk() bool
type ExporterMock ¶ added in v1.42.0
type ExporterMock interface { exporter.CommonExporter GetExportedEvents() []exporter.ExportableEvent }
type NotificationService ¶ added in v1.37.0
type NotificationService struct { NotifyCalls int CloseCalled bool // contains filtered or unexported fields }
func (*NotificationService) Close ¶ added in v1.37.0
func (n *NotificationService) Close()
func (*NotificationService) GetNotifyCalls ¶ added in v1.37.0
func (n *NotificationService) GetNotifyCalls() int
func (*NotificationService) WasCloseCalled ¶ added in v1.37.0
func (n *NotificationService) WasCloseCalled() bool
type Notifier ¶ added in v1.28.0
type Notifier struct { NotifyCalls int // contains filtered or unexported fields }
func (*Notifier) GetNotifyCalls ¶ added in v1.37.0
type TrackingEventExporter ¶ added in v1.44.0
type TrackingEventExporter struct { ExportedEvents []exporter.TrackingEvent Err error ExpectedNumberErr int CurrentNumberErr int Bulk bool // contains filtered or unexported fields }
func (*TrackingEventExporter) Export ¶ added in v1.44.0
func (m *TrackingEventExporter) Export( _ context.Context, _ *fflog.FFLogger, events []exporter.ExportableEvent, ) error
func (*TrackingEventExporter) GetExportedEvents ¶ added in v1.44.0
func (m *TrackingEventExporter) GetExportedEvents() []exporter.ExportableEvent
func (*TrackingEventExporter) IsBulk ¶ added in v1.44.0
func (m *TrackingEventExporter) IsBulk() bool
Click to show internal directories.
Click to hide internal directories.