mocks

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: AGPL-3.0 Imports: 4 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 MockField

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

MockField is a mock of Field interface.

func NewMockField

func NewMockField(ctrl *gomock.Controller) *MockField

NewMockField creates a new mock instance.

func (*MockField) EXPECT

func (m *MockField) EXPECT() *MockFieldMockRecorder

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

func (*MockField) Help

func (m *MockField) Help() string

Help mocks base method.

func (*MockField) Label

func (m *MockField) Label() string

Label mocks base method.

func (*MockField) Name

func (m *MockField) Name() string

Name mocks base method.

func (*MockField) Placeholder

func (m *MockField) Placeholder() string

Placeholder mocks base method.

func (*MockField) Rules

func (m *MockField) Rules() []rule.Rule

Rules mocks base method.

func (*MockField) Type

func (m *MockField) Type() *field.FieldType

Type mocks base method.

type MockFieldMockRecorder

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

MockFieldMockRecorder is the mock recorder for MockField.

func (*MockFieldMockRecorder) Help

func (mr *MockFieldMockRecorder) Help() *gomock.Call

Help indicates an expected call of Help.

func (*MockFieldMockRecorder) Label

func (mr *MockFieldMockRecorder) Label() *gomock.Call

Label indicates an expected call of Label.

func (*MockFieldMockRecorder) Name

func (mr *MockFieldMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockFieldMockRecorder) Placeholder

func (mr *MockFieldMockRecorder) Placeholder() *gomock.Call

Placeholder indicates an expected call of Placeholder.

func (*MockFieldMockRecorder) Rules

func (mr *MockFieldMockRecorder) Rules() *gomock.Call

Rules indicates an expected call of Rules.

func (*MockFieldMockRecorder) Type

func (mr *MockFieldMockRecorder) 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