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) SynchronizeSegment(segmentName string, till *int64) error
- func (m *MockSynchronizer) SynchronizeSplits(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
SynchronizeSplitsCall func(till *int64) 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 ¶ added in v4.0.2
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) SynchronizeSegment ¶
func (m *MockSynchronizer) SynchronizeSegment(segmentName string, till *int64) error
SynchronizeSegment mock
func (*MockSynchronizer) SynchronizeSplits ¶
func (m *MockSynchronizer) SynchronizeSplits(till *int64) error
SynchronizeSplits mock
Click to show internal directories.
Click to hide internal directories.