mocks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: MIT Imports: 2 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 MockApplicationErrorInterface

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

MockApplicationErrorInterface is a mock of ApplicationErrorInterface interface.

func NewMockApplicationErrorInterface

func NewMockApplicationErrorInterface(ctrl *gomock.Controller) *MockApplicationErrorInterface

NewMockApplicationErrorInterface creates a new mock instance.

func (*MockApplicationErrorInterface) Code

Code mocks base method.

func (*MockApplicationErrorInterface) EXPECT

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

func (*MockApplicationErrorInterface) Error

Error mocks base method.

func (*MockApplicationErrorInterface) HTTPStatus

func (m *MockApplicationErrorInterface) HTTPStatus() int

HTTPStatus mocks base method.

func (*MockApplicationErrorInterface) IsApplicationError

func (m *MockApplicationErrorInterface) IsApplicationError() bool

IsApplicationError mocks base method.

type MockApplicationErrorInterfaceMockRecorder

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

MockApplicationErrorInterfaceMockRecorder is the mock recorder for MockApplicationErrorInterface.

func (*MockApplicationErrorInterfaceMockRecorder) Code

Code indicates an expected call of Code.

func (*MockApplicationErrorInterfaceMockRecorder) Error

Error indicates an expected call of Error.

func (*MockApplicationErrorInterfaceMockRecorder) HTTPStatus

HTTPStatus indicates an expected call of HTTPStatus.

func (*MockApplicationErrorInterfaceMockRecorder) IsApplicationError

func (mr *MockApplicationErrorInterfaceMockRecorder) IsApplicationError() *gomock.Call

IsApplicationError indicates an expected call of IsApplicationError.

type MockErrorWithCode

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

MockErrorWithCode is a mock of ErrorWithCode interface.

func NewMockErrorWithCode

func NewMockErrorWithCode(ctrl *gomock.Controller) *MockErrorWithCode

NewMockErrorWithCode creates a new mock instance.

func (*MockErrorWithCode) Code

func (m *MockErrorWithCode) Code() string

Code mocks base method.

func (*MockErrorWithCode) EXPECT

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

func (*MockErrorWithCode) Error

func (m *MockErrorWithCode) Error() string

Error mocks base method.

type MockErrorWithCodeMockRecorder

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

MockErrorWithCodeMockRecorder is the mock recorder for MockErrorWithCode.

func (*MockErrorWithCodeMockRecorder) Code

Code indicates an expected call of Code.

func (*MockErrorWithCodeMockRecorder) Error

Error indicates an expected call of Error.

type MockErrorWithHTTPStatus

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

MockErrorWithHTTPStatus is a mock of ErrorWithHTTPStatus interface.

func NewMockErrorWithHTTPStatus

func NewMockErrorWithHTTPStatus(ctrl *gomock.Controller) *MockErrorWithHTTPStatus

NewMockErrorWithHTTPStatus creates a new mock instance.

func (*MockErrorWithHTTPStatus) EXPECT

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

func (*MockErrorWithHTTPStatus) Error

func (m *MockErrorWithHTTPStatus) Error() string

Error mocks base method.

func (*MockErrorWithHTTPStatus) HTTPStatus

func (m *MockErrorWithHTTPStatus) HTTPStatus() int

HTTPStatus mocks base method.

type MockErrorWithHTTPStatusMockRecorder

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

MockErrorWithHTTPStatusMockRecorder is the mock recorder for MockErrorWithHTTPStatus.

func (*MockErrorWithHTTPStatusMockRecorder) Error

Error indicates an expected call of Error.

func (*MockErrorWithHTTPStatusMockRecorder) HTTPStatus

HTTPStatus indicates an expected call of HTTPStatus.

type MockNotFoundErrorInterface

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

MockNotFoundErrorInterface is a mock of NotFoundErrorInterface interface.

func NewMockNotFoundErrorInterface

func NewMockNotFoundErrorInterface(ctrl *gomock.Controller) *MockNotFoundErrorInterface

NewMockNotFoundErrorInterface creates a new mock instance.

func (*MockNotFoundErrorInterface) Code

Code mocks base method.

func (*MockNotFoundErrorInterface) EXPECT

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

func (*MockNotFoundErrorInterface) Error

Error mocks base method.

func (*MockNotFoundErrorInterface) HTTPStatus

func (m *MockNotFoundErrorInterface) HTTPStatus() int

HTTPStatus mocks base method.

func (*MockNotFoundErrorInterface) IsNotFoundError

func (m *MockNotFoundErrorInterface) IsNotFoundError() bool

IsNotFoundError mocks base method.

type MockNotFoundErrorInterfaceMockRecorder

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

MockNotFoundErrorInterfaceMockRecorder is the mock recorder for MockNotFoundErrorInterface.

func (*MockNotFoundErrorInterfaceMockRecorder) Code

Code indicates an expected call of Code.

func (*MockNotFoundErrorInterfaceMockRecorder) Error

Error indicates an expected call of Error.

func (*MockNotFoundErrorInterfaceMockRecorder) HTTPStatus

HTTPStatus indicates an expected call of HTTPStatus.

func (*MockNotFoundErrorInterfaceMockRecorder) IsNotFoundError

func (mr *MockNotFoundErrorInterfaceMockRecorder) IsNotFoundError() *gomock.Call

IsNotFoundError indicates an expected call of IsNotFoundError.

type MockRepositoryErrorInterface

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

MockRepositoryErrorInterface is a mock of RepositoryErrorInterface interface.

func NewMockRepositoryErrorInterface

func NewMockRepositoryErrorInterface(ctrl *gomock.Controller) *MockRepositoryErrorInterface

NewMockRepositoryErrorInterface creates a new mock instance.

func (*MockRepositoryErrorInterface) Code

Code mocks base method.

func (*MockRepositoryErrorInterface) EXPECT

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

func (*MockRepositoryErrorInterface) Error

Error mocks base method.

func (*MockRepositoryErrorInterface) HTTPStatus

func (m *MockRepositoryErrorInterface) HTTPStatus() int

HTTPStatus mocks base method.

func (*MockRepositoryErrorInterface) IsRepositoryError

func (m *MockRepositoryErrorInterface) IsRepositoryError() bool

IsRepositoryError mocks base method.

type MockRepositoryErrorInterfaceMockRecorder

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

MockRepositoryErrorInterfaceMockRecorder is the mock recorder for MockRepositoryErrorInterface.

func (*MockRepositoryErrorInterfaceMockRecorder) Code

Code indicates an expected call of Code.

func (*MockRepositoryErrorInterfaceMockRecorder) Error

Error indicates an expected call of Error.

func (*MockRepositoryErrorInterfaceMockRecorder) HTTPStatus

HTTPStatus indicates an expected call of HTTPStatus.

func (*MockRepositoryErrorInterfaceMockRecorder) IsRepositoryError

func (mr *MockRepositoryErrorInterfaceMockRecorder) IsRepositoryError() *gomock.Call

IsRepositoryError indicates an expected call of IsRepositoryError.

type MockValidationErrorInterface

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

MockValidationErrorInterface is a mock of ValidationErrorInterface interface.

func NewMockValidationErrorInterface

func NewMockValidationErrorInterface(ctrl *gomock.Controller) *MockValidationErrorInterface

NewMockValidationErrorInterface creates a new mock instance.

func (*MockValidationErrorInterface) Code

Code mocks base method.

func (*MockValidationErrorInterface) EXPECT

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

func (*MockValidationErrorInterface) Error

Error mocks base method.

func (*MockValidationErrorInterface) HTTPStatus

func (m *MockValidationErrorInterface) HTTPStatus() int

HTTPStatus mocks base method.

func (*MockValidationErrorInterface) IsValidationError

func (m *MockValidationErrorInterface) IsValidationError() bool

IsValidationError mocks base method.

type MockValidationErrorInterfaceMockRecorder

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

MockValidationErrorInterfaceMockRecorder is the mock recorder for MockValidationErrorInterface.

func (*MockValidationErrorInterfaceMockRecorder) Code

Code indicates an expected call of Code.

func (*MockValidationErrorInterfaceMockRecorder) Error

Error indicates an expected call of Error.

func (*MockValidationErrorInterfaceMockRecorder) HTTPStatus

HTTPStatus indicates an expected call of HTTPStatus.

func (*MockValidationErrorInterfaceMockRecorder) IsValidationError

func (mr *MockValidationErrorInterfaceMockRecorder) IsValidationError() *gomock.Call

IsValidationError indicates an expected call of IsValidationError.

Jump to

Keyboard shortcuts

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