Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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) GetQueries

func (m *MockQueriesSource) GetQueries(ctx context.Context, querySelection *source.QueryInspectorParameters) ([]model.QueryMetadata, error)

GetQueries mocks base method.

func (*MockQueriesSource) GetQueryLibrary

func (m *MockQueriesSource) GetQueryLibrary(ctx context.Context, platform string) (source.RegoLibraries, error)

GetQueryLibrary mocks base method.

type MockQueriesSourceMockRecorder

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

MockQueriesSourceMockRecorder is the mock recorder for MockQueriesSource.

func (*MockQueriesSourceMockRecorder) GetQueries

func (mr *MockQueriesSourceMockRecorder) GetQueries(ctx, querySelection interface{}) *gomock.Call

GetQueries indicates an expected call of GetQueries.

func (*MockQueriesSourceMockRecorder) GetQueryLibrary

func (mr *MockQueriesSourceMockRecorder) GetQueryLibrary(ctx, platform interface{}) *gomock.Call

GetQueryLibrary indicates an expected call of GetQueryLibrary.

Jump to

Keyboard shortcuts

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