mocks

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: AGPL-3.0 Imports: 3 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 MockRule

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

MockRule is a mock of Rule interface.

func NewMockRule

func NewMockRule(ctrl *gomock.Controller) *MockRule

NewMockRule creates a new mock instance.

func (*MockRule) Config

func (m *MockRule) Config() map[string]interface{}

Config mocks base method.

func (*MockRule) EXPECT

func (m *MockRule) EXPECT() *MockRuleMockRecorder

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

func (*MockRule) ErrorMessage

func (m *MockRule) ErrorMessage(fieldName string) string

ErrorMessage mocks base method.

func (*MockRule) IsValid

func (m *MockRule) IsValid(value interface{}) bool

IsValid mocks base method.

func (*MockRule) Type

func (m *MockRule) Type() *rule.RuleType

Type mocks base method.

type MockRuleMockRecorder

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

MockRuleMockRecorder is the mock recorder for MockRule.

func (*MockRuleMockRecorder) Config

func (mr *MockRuleMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config.

func (*MockRuleMockRecorder) ErrorMessage

func (mr *MockRuleMockRecorder) ErrorMessage(fieldName interface{}) *gomock.Call

ErrorMessage indicates an expected call of ErrorMessage.

func (*MockRuleMockRecorder) IsValid

func (mr *MockRuleMockRecorder) IsValid(value interface{}) *gomock.Call

IsValid indicates an expected call of IsValid.

func (*MockRuleMockRecorder) Type

func (mr *MockRuleMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

Jump to

Keyboard shortcuts

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