Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEnginer
- func (m *MockEnginer) Annotations() *ast.AnnotationSet
- func (m *MockEnginer) EXPECT() *MockEnginerMockRecorder
- func (m *MockEnginer) Modules() map[string]*ast.Module
- func (m *MockEnginer) Namespaces() []string
- func (m *MockEnginer) Query(ctx context.Context, namespace string, input interface{}) ([]opa_engine.QueryResult, error)
- func (m *MockEnginer) SetTracing(enabled bool)
- type MockEnginerMockRecorder
- func (mr *MockEnginerMockRecorder) Annotations() *gomock.Call
- func (mr *MockEnginerMockRecorder) Modules() *gomock.Call
- func (mr *MockEnginerMockRecorder) Namespaces() *gomock.Call
- func (mr *MockEnginerMockRecorder) Query(ctx, namespace, input interface{}) *gomock.Call
- func (mr *MockEnginerMockRecorder) SetTracing(enabled interface{}) *gomock.Call
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.