mock

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQueriesSource

type MockQueriesSource struct {
	// contains filtered or unexported fields
}

MockQueriesSource is a mock of QueriesSource interface.

func NewMockQueriesSource

func NewMockQueriesSource(ctrl *gomock.Controller) *MockQueriesSource

NewMockQueriesSource creates a new mock instance.

func (*MockQueriesSource) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueriesSource) GetGenericQuery added in v1.1.2

func (m *MockQueriesSource) GetGenericQuery(platform string) (string, error)

GetGenericQuery mocks base method.

func (*MockQueriesSource) GetQueries

func (m *MockQueriesSource) GetQueries(excludeQueries source.ExcludeQueries) ([]model.QueryMetadata, error)

GetQueries mocks base method.

type MockQueriesSourceMockRecorder

type MockQueriesSourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueriesSourceMockRecorder is the mock recorder for MockQueriesSource.

func (*MockQueriesSourceMockRecorder) GetGenericQuery added in v1.1.2

func (mr *MockQueriesSourceMockRecorder) GetGenericQuery(platform interface{}) *gomock.Call

GetGenericQuery indicates an expected call of GetGenericQuery.

func (*MockQueriesSourceMockRecorder) GetQueries

func (mr *MockQueriesSourceMockRecorder) GetQueries(excludeQueries interface{}) *gomock.Call

GetQueries indicates an expected call of GetQueries.

Jump to

Keyboard shortcuts

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