Documentation ¶
Overview ¶
Package mock_snapshot is a generated GoMock package.
Index ¶
- type MockQuery
- type MockQueryMockRecorder
- type MockStore
- func (m *MockStore) Delete(arg0 context.Context, arg1 snapshot.Snapshot) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Latest(arg0 context.Context, arg1 string, arg2 uuid.UUID) (snapshot.Snapshot, error)
- func (m *MockStore) Limit(arg0 context.Context, arg1 string, arg2 uuid.UUID, arg3 int) (snapshot.Snapshot, error)
- func (m *MockStore) Query(arg0 context.Context, arg1 snapshot.Query) (<-chan snapshot.Snapshot, <-chan error, error)
- func (m *MockStore) Save(arg0 context.Context, arg1 snapshot.Snapshot) error
- func (m *MockStore) Version(arg0 context.Context, arg1 string, arg2 uuid.UUID, arg3 int) (snapshot.Snapshot, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Latest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Limit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Version(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQuery ¶
type MockQuery struct {
// contains filtered or unexported fields
}
MockQuery is a mock of Query interface.
func NewMockQuery ¶
func NewMockQuery(ctrl *gomock.Controller) *MockQuery
NewMockQuery creates a new mock instance.
func (*MockQuery) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQueryMockRecorder ¶
type MockQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryMockRecorder is the mock recorder for MockQuery.
func (*MockQueryMockRecorder) Times ¶
func (mr *MockQueryMockRecorder) Times() *gomock.Call
Times indicates an expected call of Times.
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) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) Latest ¶
func (m *MockStore) Latest(arg0 context.Context, arg1 string, arg2 uuid.UUID) (snapshot.Snapshot, error)
Latest mocks base method.
func (*MockStore) Limit ¶
func (m *MockStore) Limit(arg0 context.Context, arg1 string, arg2 uuid.UUID, arg3 int) (snapshot.Snapshot, error)
Limit mocks base method.
func (*MockStore) Query ¶
func (m *MockStore) Query(arg0 context.Context, arg1 snapshot.Query) (<-chan snapshot.Snapshot, <-chan error, error)
Query mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Latest ¶
func (mr *MockStoreMockRecorder) Latest(arg0, arg1, arg2 interface{}) *gomock.Call
Latest indicates an expected call of Latest.
func (*MockStoreMockRecorder) Limit ¶
func (mr *MockStoreMockRecorder) Limit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Limit indicates an expected call of Limit.
func (*MockStoreMockRecorder) Query ¶
func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockStoreMockRecorder) Save ¶
func (mr *MockStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.
func (*MockStoreMockRecorder) Version ¶
func (mr *MockStoreMockRecorder) Version(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Version indicates an expected call of Version.