mocks

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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