mocks

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSynchronizer

type MockSynchronizer struct {
	SyncAllCall                    func(bool) error
	SynchronizeSplitsCall          func(till *int64, requestNoCache bool) error
	SynchronizeSegmentCall         func(segmentName string, till *int64, requestNoCache bool) error
	StartPeriodicFetchingCall      func()
	StopPeriodicFetchingCall       func()
	StartPeriodicDataRecordingCall func()
	StopPeriodicDataRecordingCall  func()
	LocalKillCall                  func(string, string, int64)
}

MockSynchronizer mock implementation

func (MockSynchronizer) LocalKill

func (m MockSynchronizer) LocalKill(name string, treatment string, cn int64)

LocalKill mock

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) SyncAll

func (m MockSynchronizer) SyncAll(requestNoCache bool) error

SyncAll mock

func (MockSynchronizer) SynchronizeSegment

func (m MockSynchronizer) SynchronizeSegment(segmentName string, till *int64, requestNoCache bool) error

SynchronizeSegment mock

func (MockSynchronizer) SynchronizeSplits

func (m MockSynchronizer) SynchronizeSplits(till *int64, requestNoCache bool) error

SynchronizeSplits mock

Jump to

Keyboard shortcuts

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