Documentation ¶
Overview ¶
Package mock_discover is a generated GoMock package.
Index ¶
- type MockFetcher
- func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
- func (m *MockFetcher) ExistsByID(arg0 context.Context, arg1, arg2 string, arg3 primitive.ObjectID) (bool, error)
- func (m *MockFetcher) ListCollections(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockFetcher) ListDatabases(arg0 context.Context) ([]string, error)
- func (m *MockFetcher) SampleCollection(arg0 context.Context, arg1, arg2 string, arg3 int) ([]primitive.M, error)
- type MockFetcherMockRecorder
- func (mr *MockFetcherMockRecorder) ExistsByID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) ListCollections(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) ListDatabases(arg0 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) SampleCollection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFetcher ¶
type MockFetcher struct {
// contains filtered or unexported fields
}
MockFetcher is a mock of Fetcher interface
func NewMockFetcher ¶
func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher
NewMockFetcher creates a new mock instance
func (*MockFetcher) EXPECT ¶
func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFetcher) ExistsByID ¶
func (m *MockFetcher) ExistsByID(arg0 context.Context, arg1, arg2 string, arg3 primitive.ObjectID) (bool, error)
ExistsByID mocks base method
func (*MockFetcher) ListCollections ¶
ListCollections mocks base method
func (*MockFetcher) ListDatabases ¶
func (m *MockFetcher) ListDatabases(arg0 context.Context) ([]string, error)
ListDatabases mocks base method
func (*MockFetcher) SampleCollection ¶
func (m *MockFetcher) SampleCollection(arg0 context.Context, arg1, arg2 string, arg3 int) ([]primitive.M, error)
SampleCollection mocks base method
type MockFetcherMockRecorder ¶
type MockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFetcherMockRecorder is the mock recorder for MockFetcher
func (*MockFetcherMockRecorder) ExistsByID ¶
func (mr *MockFetcherMockRecorder) ExistsByID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ExistsByID indicates an expected call of ExistsByID
func (*MockFetcherMockRecorder) ListCollections ¶
func (mr *MockFetcherMockRecorder) ListCollections(arg0, arg1 interface{}) *gomock.Call
ListCollections indicates an expected call of ListCollections
func (*MockFetcherMockRecorder) ListDatabases ¶
func (mr *MockFetcherMockRecorder) ListDatabases(arg0 interface{}) *gomock.Call
ListDatabases indicates an expected call of ListDatabases
func (*MockFetcherMockRecorder) SampleCollection ¶
func (mr *MockFetcherMockRecorder) SampleCollection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SampleCollection indicates an expected call of SampleCollection