Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Add(ctx context.Context, paths []string, params api.AddParams, ...) error
- func (m *MockClient) AddMultiFile(ctx context.Context, multiFileR *files.MultiFileReader, params api.AddParams, ...) error
- func (m *MockClient) Alerts(ctx context.Context) ([]api.Alert, error)
- func (m *MockClient) Allocation(ctx context.Context, ci api.Cid) (api.Pin, error)
- func (m *MockClient) Allocations(ctx context.Context, filter api.PinType, out chan<- api.Pin) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConnectGraph(arg0 context.Context) (api.ConnectGraph, error)
- func (m *MockClient) ID(arg0 context.Context) (api.ID, error)
- func (m *MockClient) IPFS(arg0 context.Context) *shell.Shell
- func (m *MockClient) MetricNames(ctx context.Context) ([]string, error)
- func (m *MockClient) Metrics(ctx context.Context, name string) ([]api.Metric, error)
- func (m *MockClient) PeerAdd(ctx context.Context, pid peer.ID) (api.ID, error)
- func (m *MockClient) PeerRm(ctx context.Context, pid peer.ID) error
- func (m *MockClient) Peers(arg0 context.Context, arg1 chan<- api.ID) error
- func (m *MockClient) Pin(ctx context.Context, ci api.Cid, opts api.PinOptions) (api.Pin, error)
- func (m *MockClient) PinPath(ctx context.Context, path string, opts api.PinOptions) (api.Pin, error)
- func (m *MockClient) Recover(ctx context.Context, ci api.Cid, local bool) (api.GlobalPinInfo, error)
- func (m *MockClient) RecoverAll(ctx context.Context, local bool, out chan<- api.GlobalPinInfo) error
- func (m *MockClient) RepoGC(ctx context.Context, local bool) (api.GlobalRepoGC, error)
- func (m *MockClient) Status(ctx context.Context, ci api.Cid, local bool) (api.GlobalPinInfo, error)
- func (m *MockClient) StatusAll(ctx context.Context, filter api.TrackerStatus, local bool, ...) error
- func (m *MockClient) StatusCids(ctx context.Context, cids []api.Cid, local bool, out chan<- api.GlobalPinInfo) error
- func (m *MockClient) Unpin(ctx context.Context, ci api.Cid) (api.Pin, error)
- func (m *MockClient) UnpinPath(ctx context.Context, path string) (api.Pin, error)
- func (m *MockClient) Version(arg0 context.Context) (api.Version, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Add(ctx, paths, params, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddMultiFile(ctx, multiFileR, params, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Alerts(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Allocation(ctx, ci interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Allocations(ctx, filter, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConnectGraph(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ID(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IPFS(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) MetricNames(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Metrics(ctx, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PeerAdd(ctx, pid interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PeerRm(ctx, pid interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Peers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Pin(ctx, ci, opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PinPath(ctx, path, opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Recover(ctx, ci, local interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RecoverAll(ctx, local, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RepoGC(ctx, local interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Status(ctx, ci, local interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StatusAll(ctx, filter, local, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StatusCids(ctx, cids, local, out interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Unpin(ctx, ci interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UnpinPath(ctx, path interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
- type MockController
- func (m *MockController) CreatePin(uid string, pin models.Pin) (models.PinStatus, error)
- func (m *MockController) EXPECT() *MockControllerMockRecorder
- func (m *MockController) FindPins(uid string, cids []string, name, before, after string, match models.TextMatch, ...) (models.Pins, error)
- func (m *MockController) GetPin(uid, id string) (models.PinStatus, error)
- func (m *MockController) PatchPin(uid, id string, data models.Pin) (models.PinStatus, error)
- func (m *MockController) RemovePin(uid, id string) error
- func (m *MockController) UpdatePin(uid, id string, data models.Pin) (models.PinStatus, error)
- type MockControllerMockRecorder
- func (mr *MockControllerMockRecorder) CreatePin(uid, pin interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) FindPins(...) *gomock.Call
- func (mr *MockControllerMockRecorder) GetPin(uid, id interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) PatchPin(uid, id, data interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) RemovePin(uid, id interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) UpdatePin(uid, id, data interface{}) *gomock.Call
- type MockPinWatcher
- type MockPinWatcherMockRecorder
- type MockPinner
- func (m *MockPinner) Add(pin models.Pin) error
- func (m *MockPinner) Delegates() ([]string, error)
- func (m *MockPinner) EXPECT() *MockPinnerMockRecorder
- func (m *MockPinner) Remove(cid string) error
- func (m *MockPinner) SetPinMode(mode api.PinMode)
- func (m *MockPinner) SetReplicationFactor(min, max int) error
- type MockPinnerMockRecorder
- func (mr *MockPinnerMockRecorder) Add(pin interface{}) *gomock.Call
- func (mr *MockPinnerMockRecorder) Delegates() *gomock.Call
- func (mr *MockPinnerMockRecorder) Remove(cid interface{}) *gomock.Call
- func (mr *MockPinnerMockRecorder) SetPinMode(mode interface{}) *gomock.Call
- func (mr *MockPinnerMockRecorder) SetReplicationFactor(min, max interface{}) *gomock.Call
- type MockPins
- func (m *MockPins) Delete(id string) error
- func (m *MockPins) EXPECT() *MockPinsMockRecorder
- func (m *MockPins) Find(cids, statuses []string, name string, before, after int64, match string, ...) (models.Pins, error)
- func (m *MockPins) Get(id string) (models.PinStatus, error)
- func (m *MockPins) Patch(id string, fields map[string]interface{}) error
- func (m *MockPins) Set(pinStatus models.PinStatus) error
- type MockPinsMockRecorder
- func (mr *MockPinsMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockPinsMockRecorder) Find(...) *gomock.Call
- func (mr *MockPinsMockRecorder) Get(id interface{}) *gomock.Call
- func (mr *MockPinsMockRecorder) Patch(id, fields interface{}) *gomock.Call
- func (mr *MockPinsMockRecorder) Set(pinStatus interface{}) *gomock.Call
- type MockStatusTracker
- func (m *MockStatusTracker) CheckStatus(target api.TrackerStatus) bool
- func (m *MockStatusTracker) EXPECT() *MockStatusTrackerMockRecorder
- func (m *MockStatusTracker) GetId() string
- func (m *MockStatusTracker) Poll(target api.TrackerStatus, checkFreq time.Duration)
- func (m *MockStatusTracker) Stop()
- type MockStatusTrackerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Add ¶
func (m *MockClient) Add(ctx context.Context, paths []string, params api.AddParams, out chan<- api.AddedOutput) error
Add mocks base method.
func (*MockClient) AddMultiFile ¶
func (m *MockClient) AddMultiFile(ctx context.Context, multiFileR *files.MultiFileReader, params api.AddParams, out chan<- api.AddedOutput) error
AddMultiFile mocks base method.
func (*MockClient) Allocation ¶
Allocation mocks base method.
func (*MockClient) Allocations ¶
Allocations mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetConnectGraph ¶
func (m *MockClient) GetConnectGraph(arg0 context.Context) (api.ConnectGraph, error)
GetConnectGraph mocks base method.
func (*MockClient) IPFS ¶
func (m *MockClient) IPFS(arg0 context.Context) *shell.Shell
IPFS mocks base method.
func (*MockClient) MetricNames ¶
func (m *MockClient) MetricNames(ctx context.Context) ([]string, error)
MetricNames mocks base method.
func (*MockClient) Pin ¶
func (m *MockClient) Pin(ctx context.Context, ci api.Cid, opts api.PinOptions) (api.Pin, error)
Pin mocks base method.
func (*MockClient) PinPath ¶
func (m *MockClient) PinPath(ctx context.Context, path string, opts api.PinOptions) (api.Pin, error)
PinPath mocks base method.
func (*MockClient) Recover ¶
func (m *MockClient) Recover(ctx context.Context, ci api.Cid, local bool) (api.GlobalPinInfo, error)
Recover mocks base method.
func (*MockClient) RecoverAll ¶
func (m *MockClient) RecoverAll(ctx context.Context, local bool, out chan<- api.GlobalPinInfo) error
RecoverAll mocks base method.
func (*MockClient) RepoGC ¶
func (m *MockClient) RepoGC(ctx context.Context, local bool) (api.GlobalRepoGC, error)
RepoGC mocks base method.
func (*MockClient) Status ¶
func (m *MockClient) Status(ctx context.Context, ci api.Cid, local bool) (api.GlobalPinInfo, error)
Status mocks base method.
func (*MockClient) StatusAll ¶
func (m *MockClient) StatusAll(ctx context.Context, filter api.TrackerStatus, local bool, out chan<- api.GlobalPinInfo) error
StatusAll mocks base method.
func (*MockClient) StatusCids ¶
func (m *MockClient) StatusCids(ctx context.Context, cids []api.Cid, local bool, out chan<- api.GlobalPinInfo) error
StatusCids mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Add ¶
func (mr *MockClientMockRecorder) Add(ctx, paths, params, out interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockClientMockRecorder) AddMultiFile ¶
func (mr *MockClientMockRecorder) AddMultiFile(ctx, multiFileR, params, out interface{}) *gomock.Call
AddMultiFile indicates an expected call of AddMultiFile.
func (*MockClientMockRecorder) Alerts ¶
func (mr *MockClientMockRecorder) Alerts(ctx interface{}) *gomock.Call
Alerts indicates an expected call of Alerts.
func (*MockClientMockRecorder) Allocation ¶
func (mr *MockClientMockRecorder) Allocation(ctx, ci interface{}) *gomock.Call
Allocation indicates an expected call of Allocation.
func (*MockClientMockRecorder) Allocations ¶
func (mr *MockClientMockRecorder) Allocations(ctx, filter, out interface{}) *gomock.Call
Allocations indicates an expected call of Allocations.
func (*MockClientMockRecorder) GetConnectGraph ¶
func (mr *MockClientMockRecorder) GetConnectGraph(arg0 interface{}) *gomock.Call
GetConnectGraph indicates an expected call of GetConnectGraph.
func (*MockClientMockRecorder) ID ¶
func (mr *MockClientMockRecorder) ID(arg0 interface{}) *gomock.Call
ID indicates an expected call of ID.
func (*MockClientMockRecorder) IPFS ¶
func (mr *MockClientMockRecorder) IPFS(arg0 interface{}) *gomock.Call
IPFS indicates an expected call of IPFS.
func (*MockClientMockRecorder) MetricNames ¶
func (mr *MockClientMockRecorder) MetricNames(ctx interface{}) *gomock.Call
MetricNames indicates an expected call of MetricNames.
func (*MockClientMockRecorder) Metrics ¶
func (mr *MockClientMockRecorder) Metrics(ctx, name interface{}) *gomock.Call
Metrics indicates an expected call of Metrics.
func (*MockClientMockRecorder) PeerAdd ¶
func (mr *MockClientMockRecorder) PeerAdd(ctx, pid interface{}) *gomock.Call
PeerAdd indicates an expected call of PeerAdd.
func (*MockClientMockRecorder) PeerRm ¶
func (mr *MockClientMockRecorder) PeerRm(ctx, pid interface{}) *gomock.Call
PeerRm indicates an expected call of PeerRm.
func (*MockClientMockRecorder) Peers ¶
func (mr *MockClientMockRecorder) Peers(arg0, arg1 interface{}) *gomock.Call
Peers indicates an expected call of Peers.
func (*MockClientMockRecorder) Pin ¶
func (mr *MockClientMockRecorder) Pin(ctx, ci, opts interface{}) *gomock.Call
Pin indicates an expected call of Pin.
func (*MockClientMockRecorder) PinPath ¶
func (mr *MockClientMockRecorder) PinPath(ctx, path, opts interface{}) *gomock.Call
PinPath indicates an expected call of PinPath.
func (*MockClientMockRecorder) Recover ¶
func (mr *MockClientMockRecorder) Recover(ctx, ci, local interface{}) *gomock.Call
Recover indicates an expected call of Recover.
func (*MockClientMockRecorder) RecoverAll ¶
func (mr *MockClientMockRecorder) RecoverAll(ctx, local, out interface{}) *gomock.Call
RecoverAll indicates an expected call of RecoverAll.
func (*MockClientMockRecorder) RepoGC ¶
func (mr *MockClientMockRecorder) RepoGC(ctx, local interface{}) *gomock.Call
RepoGC indicates an expected call of RepoGC.
func (*MockClientMockRecorder) Status ¶
func (mr *MockClientMockRecorder) Status(ctx, ci, local interface{}) *gomock.Call
Status indicates an expected call of Status.
func (*MockClientMockRecorder) StatusAll ¶
func (mr *MockClientMockRecorder) StatusAll(ctx, filter, local, out interface{}) *gomock.Call
StatusAll indicates an expected call of StatusAll.
func (*MockClientMockRecorder) StatusCids ¶
func (mr *MockClientMockRecorder) StatusCids(ctx, cids, local, out interface{}) *gomock.Call
StatusCids indicates an expected call of StatusCids.
func (*MockClientMockRecorder) Unpin ¶
func (mr *MockClientMockRecorder) Unpin(ctx, ci interface{}) *gomock.Call
Unpin indicates an expected call of Unpin.
func (*MockClientMockRecorder) UnpinPath ¶
func (mr *MockClientMockRecorder) UnpinPath(ctx, path interface{}) *gomock.Call
UnpinPath indicates an expected call of UnpinPath.
func (*MockClientMockRecorder) Version ¶
func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
MockController is a mock of Controller interface.
func NewMockController ¶
func NewMockController(ctrl *gomock.Controller) *MockController
NewMockController creates a new mock instance.
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockController) FindPins ¶
func (m *MockController) FindPins(uid string, cids []string, name, before, after string, match models.TextMatch, statuses []models.Status, limit, offset int, sortBy string, meta models.Info) (models.Pins, error)
FindPins mocks base method.
func (*MockController) GetPin ¶
func (m *MockController) GetPin(uid, id string) (models.PinStatus, error)
GetPin mocks base method.
func (*MockController) RemovePin ¶
func (m *MockController) RemovePin(uid, id string) error
RemovePin mocks base method.
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController.
func (*MockControllerMockRecorder) CreatePin ¶
func (mr *MockControllerMockRecorder) CreatePin(uid, pin interface{}) *gomock.Call
CreatePin indicates an expected call of CreatePin.
func (*MockControllerMockRecorder) FindPins ¶
func (mr *MockControllerMockRecorder) FindPins(uid, cids, name, before, after, match, statuses, limit, offset, sortBy, meta interface{}) *gomock.Call
FindPins indicates an expected call of FindPins.
func (*MockControllerMockRecorder) GetPin ¶
func (mr *MockControllerMockRecorder) GetPin(uid, id interface{}) *gomock.Call
GetPin indicates an expected call of GetPin.
func (*MockControllerMockRecorder) PatchPin ¶
func (mr *MockControllerMockRecorder) PatchPin(uid, id, data interface{}) *gomock.Call
PatchPin indicates an expected call of PatchPin.
func (*MockControllerMockRecorder) RemovePin ¶
func (mr *MockControllerMockRecorder) RemovePin(uid, id interface{}) *gomock.Call
RemovePin indicates an expected call of RemovePin.
func (*MockControllerMockRecorder) UpdatePin ¶
func (mr *MockControllerMockRecorder) UpdatePin(uid, id, data interface{}) *gomock.Call
UpdatePin indicates an expected call of UpdatePin.
type MockPinWatcher ¶
type MockPinWatcher struct {
// contains filtered or unexported fields
}
MockPinWatcher is a mock of PinWatcher interface.
func NewMockPinWatcher ¶
func NewMockPinWatcher(ctrl *gomock.Controller) *MockPinWatcher
NewMockPinWatcher creates a new mock instance.
func (*MockPinWatcher) Deregister ¶
func (m *MockPinWatcher) Deregister(pid string)
Deregister mocks base method.
func (*MockPinWatcher) EXPECT ¶
func (m *MockPinWatcher) EXPECT() *MockPinWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPinWatcher) Register ¶
func (m *MockPinWatcher) Register(p models.PinStatus, targetStatus api.TrackerStatus, checkFreq time.Duration)
Register mocks base method.
type MockPinWatcherMockRecorder ¶
type MockPinWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockPinWatcherMockRecorder is the mock recorder for MockPinWatcher.
func (*MockPinWatcherMockRecorder) Deregister ¶
func (mr *MockPinWatcherMockRecorder) Deregister(pid interface{}) *gomock.Call
Deregister indicates an expected call of Deregister.
func (*MockPinWatcherMockRecorder) Register ¶
func (mr *MockPinWatcherMockRecorder) Register(p, targetStatus, checkFreq interface{}) *gomock.Call
Register indicates an expected call of Register.
type MockPinner ¶
type MockPinner struct {
// contains filtered or unexported fields
}
MockPinner is a mock of Pinner interface.
func NewMockPinner ¶
func NewMockPinner(ctrl *gomock.Controller) *MockPinner
NewMockPinner creates a new mock instance.
func (*MockPinner) Delegates ¶
func (m *MockPinner) Delegates() ([]string, error)
Delegates mocks base method.
func (*MockPinner) EXPECT ¶
func (m *MockPinner) EXPECT() *MockPinnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPinner) SetPinMode ¶
func (m *MockPinner) SetPinMode(mode api.PinMode)
SetPinMode mocks base method.
func (*MockPinner) SetReplicationFactor ¶
func (m *MockPinner) SetReplicationFactor(min, max int) error
SetReplicationFactor mocks base method.
type MockPinnerMockRecorder ¶
type MockPinnerMockRecorder struct {
// contains filtered or unexported fields
}
MockPinnerMockRecorder is the mock recorder for MockPinner.
func (*MockPinnerMockRecorder) Add ¶
func (mr *MockPinnerMockRecorder) Add(pin interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockPinnerMockRecorder) Delegates ¶
func (mr *MockPinnerMockRecorder) Delegates() *gomock.Call
Delegates indicates an expected call of Delegates.
func (*MockPinnerMockRecorder) Remove ¶
func (mr *MockPinnerMockRecorder) Remove(cid interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockPinnerMockRecorder) SetPinMode ¶
func (mr *MockPinnerMockRecorder) SetPinMode(mode interface{}) *gomock.Call
SetPinMode indicates an expected call of SetPinMode.
func (*MockPinnerMockRecorder) SetReplicationFactor ¶
func (mr *MockPinnerMockRecorder) SetReplicationFactor(min, max interface{}) *gomock.Call
SetReplicationFactor indicates an expected call of SetReplicationFactor.
type MockPins ¶
type MockPins struct {
// contains filtered or unexported fields
}
MockPins is a mock of Pins interface.
func NewMockPins ¶
func NewMockPins(ctrl *gomock.Controller) *MockPins
NewMockPins creates a new mock instance.
func (*MockPins) EXPECT ¶
func (m *MockPins) EXPECT() *MockPinsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPins) Find ¶
func (m *MockPins) Find(cids, statuses []string, name string, before, after int64, match string, limit, offset int, sortBy *database.SortingKey, meta models.Info) (models.Pins, error)
Find mocks base method.
type MockPinsMockRecorder ¶
type MockPinsMockRecorder struct {
// contains filtered or unexported fields
}
MockPinsMockRecorder is the mock recorder for MockPins.
func (*MockPinsMockRecorder) Delete ¶
func (mr *MockPinsMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPinsMockRecorder) Find ¶
func (mr *MockPinsMockRecorder) Find(cids, statuses, name, before, after, match, limit, offset, sortBy, meta interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockPinsMockRecorder) Get ¶
func (mr *MockPinsMockRecorder) Get(id interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPinsMockRecorder) Patch ¶
func (mr *MockPinsMockRecorder) Patch(id, fields interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockPinsMockRecorder) Set ¶
func (mr *MockPinsMockRecorder) Set(pinStatus interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockStatusTracker ¶
type MockStatusTracker struct {
// contains filtered or unexported fields
}
MockStatusTracker is a mock of StatusTracker interface.
func NewMockStatusTracker ¶
func NewMockStatusTracker(ctrl *gomock.Controller) *MockStatusTracker
NewMockStatusTracker creates a new mock instance.
func (*MockStatusTracker) CheckStatus ¶
func (m *MockStatusTracker) CheckStatus(target api.TrackerStatus) bool
CheckStatus mocks base method.
func (*MockStatusTracker) EXPECT ¶
func (m *MockStatusTracker) EXPECT() *MockStatusTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusTracker) GetId ¶
func (m *MockStatusTracker) GetId() string
GetId mocks base method.
func (*MockStatusTracker) Poll ¶
func (m *MockStatusTracker) Poll(target api.TrackerStatus, checkFreq time.Duration)
Poll mocks base method.
type MockStatusTrackerMockRecorder ¶
type MockStatusTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusTrackerMockRecorder is the mock recorder for MockStatusTracker.
func (*MockStatusTrackerMockRecorder) CheckStatus ¶
func (mr *MockStatusTrackerMockRecorder) CheckStatus(target interface{}) *gomock.Call
CheckStatus indicates an expected call of CheckStatus.
func (*MockStatusTrackerMockRecorder) GetId ¶
func (mr *MockStatusTrackerMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockStatusTrackerMockRecorder) Poll ¶
func (mr *MockStatusTrackerMockRecorder) Poll(target, checkFreq interface{}) *gomock.Call
Poll indicates an expected call of Poll.
func (*MockStatusTrackerMockRecorder) Stop ¶
func (mr *MockStatusTrackerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.