mocks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT 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 MockCustomValidator

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

MockCustomValidator is a mock of CustomValidator interface.

func NewMockCustomValidator

func NewMockCustomValidator(ctrl *gomock.Controller) *MockCustomValidator

NewMockCustomValidator creates a new mock instance.

func (*MockCustomValidator) EXPECT

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

func (*MockCustomValidator) Func

Func mocks base method.

func (*MockCustomValidator) Tag

func (m *MockCustomValidator) Tag() string

Tag mocks base method.

type MockCustomValidatorMockRecorder

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

MockCustomValidatorMockRecorder is the mock recorder for MockCustomValidator.

func (*MockCustomValidatorMockRecorder) Func

Func indicates an expected call of Func.

func (*MockCustomValidatorMockRecorder) Tag

Tag indicates an expected call of Tag.

type MockValidator

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

MockValidator is a mock of Validator interface.

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance.

func (*MockValidator) EXPECT

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

func (*MockValidator) Validate

func (m *MockValidator) Validate(ctx context.Context, s any) error

Validate mocks base method.

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator.

func (*MockValidatorMockRecorder) Validate

func (mr *MockValidatorMockRecorder) Validate(ctx, s any) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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