mock_discover

package
v0.0.0-...-67f94d3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_discover is a generated GoMock package.

Index

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

func (m *MockFetcher) ListCollections(arg0 context.Context, arg1 string) ([]string, error)

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

Jump to

Keyboard shortcuts

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