mocks

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 5 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 mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnginer

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

MockEnginer is a mock of Enginer interface.

func NewMockEnginer

func NewMockEnginer(ctrl *gomock.Controller) *MockEnginer

NewMockEnginer creates a new mock instance.

func (*MockEnginer) Annotations

func (m *MockEnginer) Annotations() *ast.AnnotationSet

Annotations mocks base method.

func (*MockEnginer) EXPECT

func (m *MockEnginer) EXPECT() *MockEnginerMockRecorder

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

func (*MockEnginer) Modules

func (m *MockEnginer) Modules() map[string]*ast.Module

Modules mocks base method.

func (*MockEnginer) Namespaces

func (m *MockEnginer) Namespaces() []string

Namespaces mocks base method.

func (*MockEnginer) Query

func (m *MockEnginer) Query(ctx context.Context, namespace string, input interface{}) ([]opa_engine.QueryResult, error)

Query mocks base method.

func (*MockEnginer) SetTracing

func (m *MockEnginer) SetTracing(enabled bool)

SetTracing mocks base method.

type MockEnginerMockRecorder

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

MockEnginerMockRecorder is the mock recorder for MockEnginer.

func (*MockEnginerMockRecorder) Annotations

func (mr *MockEnginerMockRecorder) Annotations() *gomock.Call

Annotations indicates an expected call of Annotations.

func (*MockEnginerMockRecorder) Modules

func (mr *MockEnginerMockRecorder) Modules() *gomock.Call

Modules indicates an expected call of Modules.

func (*MockEnginerMockRecorder) Namespaces

func (mr *MockEnginerMockRecorder) Namespaces() *gomock.Call

Namespaces indicates an expected call of Namespaces.

func (*MockEnginerMockRecorder) Query

func (mr *MockEnginerMockRecorder) Query(ctx, namespace, input interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockEnginerMockRecorder) SetTracing

func (mr *MockEnginerMockRecorder) SetTracing(enabled interface{}) *gomock.Call

SetTracing indicates an expected call of SetTracing.

Jump to

Keyboard shortcuts

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