Documentation ¶
Index ¶
- type MockSynchronizer
- func (m *MockSynchronizer) LocalKill(name string, treatment string, cn int64)
- func (m *MockSynchronizer) RefreshRates() (time.Duration, time.Duration)
- func (m *MockSynchronizer) StartPeriodicDataRecording()
- func (m *MockSynchronizer) StartPeriodicFetching()
- func (m *MockSynchronizer) StopPeriodicDataRecording()
- func (m *MockSynchronizer) StopPeriodicFetching()
- func (m *MockSynchronizer) SyncAll() error
- func (m *MockSynchronizer) SynchronizeFeatureFlags(ffChange *dtos.SplitChangeUpdate) error
- func (m *MockSynchronizer) SynchronizeSegment(segmentName string, till *int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSynchronizer ¶
type MockSynchronizer struct { SyncAllCall func() error SynchronizeFeatureFlagsCall func(ffChange *dtos.SplitChangeUpdate) error SynchronizeSegmentCall func(segmentName string, till *int64) error StartPeriodicFetchingCall func() StopPeriodicFetchingCall func() StartPeriodicDataRecordingCall func() StopPeriodicDataRecordingCall func() LocalKillCall func(string, string, int64) RefreshRatesCall func() (time.Duration, time.Duration) }
MockSynchronizer mock implementation
func (*MockSynchronizer) LocalKill ¶
func (m *MockSynchronizer) LocalKill(name string, treatment string, cn int64)
LocalKill mock
func (*MockSynchronizer) RefreshRates ¶
func (m *MockSynchronizer) RefreshRates() (time.Duration, time.Duration)
RefreshRates call
func (*MockSynchronizer) StartPeriodicDataRecording ¶
func (m *MockSynchronizer) StartPeriodicDataRecording()
StartPeriodicDataRecording mock
func (*MockSynchronizer) StartPeriodicFetching ¶
func (m *MockSynchronizer) StartPeriodicFetching()
StartPeriodicFetching mock
func (*MockSynchronizer) StopPeriodicDataRecording ¶
func (m *MockSynchronizer) StopPeriodicDataRecording()
StopPeriodicDataRecording mock
func (*MockSynchronizer) StopPeriodicFetching ¶
func (m *MockSynchronizer) StopPeriodicFetching()
StopPeriodicFetching mock
func (*MockSynchronizer) SynchronizeFeatureFlags ¶
func (m *MockSynchronizer) SynchronizeFeatureFlags(ffChange *dtos.SplitChangeUpdate) error
RefreshRates call
func (*MockSynchronizer) SynchronizeSegment ¶
func (m *MockSynchronizer) SynchronizeSegment(segmentName string, till *int64) error
SynchronizeSegment mock
Click to show internal directories.
Click to hide internal directories.