Documentation ¶
Overview ¶
Package mockpersistedretry is a generated GoMock package.
Package mockpersistedretry is a generated GoMock package.
Package mockpersistedretry is a generated GoMock package.
Package mockpersistedretry is a generated GoMock package.
Index ¶
- type MockExecutor
- type MockExecutorMockRecorder
- type MockManager
- type MockManagerMockRecorder
- type MockStore
- func (m *MockStore) AddFailed(arg0 persistedretry.Task) error
- func (m *MockStore) AddPending(arg0 persistedretry.Task) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Find(arg0 interface{}) ([]persistedretry.Task, error)
- func (m *MockStore) GetFailed() ([]persistedretry.Task, error)
- func (m *MockStore) GetPending() ([]persistedretry.Task, error)
- func (m *MockStore) MarkFailed(arg0 persistedretry.Task) error
- func (m *MockStore) MarkPending(arg0 persistedretry.Task) error
- func (m *MockStore) Remove(arg0 persistedretry.Task) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddFailed(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddPending(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetFailed() *gomock.Call
- func (mr *MockStoreMockRecorder) GetPending() *gomock.Call
- func (mr *MockStoreMockRecorder) MarkFailed(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) MarkPending(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Remove(arg0 interface{}) *gomock.Call
- type MockTask
- type MockTaskMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExecutor) Exec ¶
func (m *MockExecutor) Exec(arg0 persistedretry.Task) error
Exec mocks base method
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor
func (*MockExecutorMockRecorder) Exec ¶
func (mr *MockExecutorMockRecorder) Exec(arg0 interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockExecutorMockRecorder) Name ¶
func (mr *MockExecutorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance
func (*MockManager) Add ¶
func (m *MockManager) Add(arg0 persistedretry.Task) error
Add mocks base method
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) Find ¶
func (m *MockManager) Find(arg0 interface{}) ([]persistedretry.Task, error)
Find mocks base method
func (*MockManager) SyncExec ¶
func (m *MockManager) SyncExec(arg0 persistedretry.Task) error
SyncExec mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) Add ¶
func (mr *MockManagerMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockManagerMockRecorder) Close ¶
func (mr *MockManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockManagerMockRecorder) Find ¶
func (mr *MockManagerMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockManagerMockRecorder) SyncExec ¶
func (mr *MockManagerMockRecorder) SyncExec(arg0 interface{}) *gomock.Call
SyncExec indicates an expected call of SyncExec
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) AddFailed ¶
func (m *MockStore) AddFailed(arg0 persistedretry.Task) error
AddFailed mocks base method
func (*MockStore) AddPending ¶
func (m *MockStore) AddPending(arg0 persistedretry.Task) error
AddPending mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) Find ¶
func (m *MockStore) Find(arg0 interface{}) ([]persistedretry.Task, error)
Find mocks base method
func (*MockStore) GetFailed ¶
func (m *MockStore) GetFailed() ([]persistedretry.Task, error)
GetFailed mocks base method
func (*MockStore) GetPending ¶
func (m *MockStore) GetPending() ([]persistedretry.Task, error)
GetPending mocks base method
func (*MockStore) MarkFailed ¶
func (m *MockStore) MarkFailed(arg0 persistedretry.Task) error
MarkFailed mocks base method
func (*MockStore) MarkPending ¶
func (m *MockStore) MarkPending(arg0 persistedretry.Task) error
MarkPending mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) AddFailed ¶
func (mr *MockStoreMockRecorder) AddFailed(arg0 interface{}) *gomock.Call
AddFailed indicates an expected call of AddFailed
func (*MockStoreMockRecorder) AddPending ¶
func (mr *MockStoreMockRecorder) AddPending(arg0 interface{}) *gomock.Call
AddPending indicates an expected call of AddPending
func (*MockStoreMockRecorder) Find ¶
func (mr *MockStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockStoreMockRecorder) GetFailed ¶
func (mr *MockStoreMockRecorder) GetFailed() *gomock.Call
GetFailed indicates an expected call of GetFailed
func (*MockStoreMockRecorder) GetPending ¶
func (mr *MockStoreMockRecorder) GetPending() *gomock.Call
GetPending indicates an expected call of GetPending
func (*MockStoreMockRecorder) MarkFailed ¶
func (mr *MockStoreMockRecorder) MarkFailed(arg0 interface{}) *gomock.Call
MarkFailed indicates an expected call of MarkFailed
func (*MockStoreMockRecorder) MarkPending ¶
func (mr *MockStoreMockRecorder) MarkPending(arg0 interface{}) *gomock.Call
MarkPending indicates an expected call of MarkPending
func (*MockStoreMockRecorder) Remove ¶
func (mr *MockStoreMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
type MockTask ¶
type MockTask struct {
// contains filtered or unexported fields
}
MockTask is a mock of Task interface
func NewMockTask ¶
func NewMockTask(ctrl *gomock.Controller) *MockTask
NewMockTask creates a new mock instance
func (*MockTask) EXPECT ¶
func (m *MockTask) EXPECT() *MockTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTask) GetLastAttempt ¶
GetLastAttempt mocks base method
type MockTaskMockRecorder ¶
type MockTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskMockRecorder is the mock recorder for MockTask
func (*MockTaskMockRecorder) GetFailures ¶
func (mr *MockTaskMockRecorder) GetFailures() *gomock.Call
GetFailures indicates an expected call of GetFailures
func (*MockTaskMockRecorder) GetLastAttempt ¶
func (mr *MockTaskMockRecorder) GetLastAttempt() *gomock.Call
GetLastAttempt indicates an expected call of GetLastAttempt
func (*MockTaskMockRecorder) Ready ¶
func (mr *MockTaskMockRecorder) Ready() *gomock.Call
Ready indicates an expected call of Ready
func (*MockTaskMockRecorder) Tags ¶ added in v0.1.2
func (mr *MockTaskMockRecorder) Tags() *gomock.Call
Tags indicates an expected call of Tags
Directories ¶
Path | Synopsis |
---|---|
Package mocktagreplication is a generated GoMock package.
|
Package mocktagreplication is a generated GoMock package. |