Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
MockAuthClient mocked implementation of auth
func (MockAuthClient) Authenticate ¶
func (m MockAuthClient) Authenticate() (*dtos.Token, error)
Authenticate mock
type MockEventRecorder ¶
type MockEventRecorder struct {
RecordCall func(events []dtos.EventDTO, metadata dtos.Metadata) error
}
MockEventRecorder mocked implementation of event recorder
type MockImpressionRecorder ¶
type MockImpressionRecorder struct { RecordCall func(impressions []dtos.ImpressionsDTO, metadata dtos.Metadata, extraHeaders map[string]string) error RecordImpressionsCountCall func(pf dtos.ImpressionsCountDTO, metadata dtos.Metadata) error }
MockImpressionRecorder mocked implementation of impression recorder
func (MockImpressionRecorder) Record ¶
func (m MockImpressionRecorder) Record(impressions []dtos.ImpressionsDTO, metadata dtos.Metadata, extraHeaders map[string]string) error
Record mock
func (MockImpressionRecorder) RecordImpressionsCount ¶
func (m MockImpressionRecorder) RecordImpressionsCount(pf dtos.ImpressionsCountDTO, metadata dtos.Metadata) error
RecordImpressionsCount mock
type MockSegmentFetcher ¶
type MockSegmentFetcher struct {
FetchCall func(name string, changeNumber int64, fetchOptions *service.FetchOptions) (*dtos.SegmentChangesDTO, error)
}
MockSegmentFetcher mocked implementation of segment fetcher
func (MockSegmentFetcher) Fetch ¶
func (m MockSegmentFetcher) Fetch(name string, changeNumber int64, fetchOptions *service.FetchOptions) (*dtos.SegmentChangesDTO, error)
Fetch mock
type MockSplitFetcher ¶
type MockSplitFetcher struct {
FetchCall func(changeNumber int64, fetchOptions *service.FetchOptions) (*dtos.SplitChangesDTO, error)
}
MockSplitFetcher mocked implementation of split fetcher
func (MockSplitFetcher) Fetch ¶
func (m MockSplitFetcher) Fetch(changeNumber int64, fetchOptions *service.FetchOptions) (*dtos.SplitChangesDTO, error)
Fetch mock
type MockTelemetryRecorder ¶
type MockTelemetryRecorder struct { RecordConfigCall func(config dtos.Config, metadata dtos.Metadata) error RecordStatsCall func(stats dtos.Stats, metadata dtos.Metadata) error RecordUniqueKeysCall func(uniques dtos.Uniques, metadata dtos.Metadata) error }
MockTelemetryRecorder mocked implementation of telemetry recorder
func (MockTelemetryRecorder) RecordConfig ¶
RecordConfig mock
func (MockTelemetryRecorder) RecordStats ¶
RecordStats mock
func (MockTelemetryRecorder) RecordUniqueKeys ¶
RecordUniqueKeys mock
Source Files ¶
Click to show internal directories.
Click to hide internal directories.