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: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockEntityRepository

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

MockEntityRepository is a mock of EntityRepository interface.

func NewMockEntityRepository

func NewMockEntityRepository(ctrl *gomock.Controller) *MockEntityRepository

NewMockEntityRepository creates a new mock instance.

func (*MockEntityRepository) EXPECT

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

func (*MockEntityRepository) GetEntityByName

func (m *MockEntityRepository) GetEntityByName(arg0 context.Context, arg1 string) (*domain.Entity, error)

GetEntityByName mocks base method.

type MockEntityRepositoryMockRecorder

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

MockEntityRepositoryMockRecorder is the mock recorder for MockEntityRepository.

func (*MockEntityRepositoryMockRecorder) GetEntityByName

func (mr *MockEntityRepositoryMockRecorder) GetEntityByName(arg0, arg1 interface{}) *gomock.Call

GetEntityByName indicates an expected call of GetEntityByName.

type MockRecordRepository added in v1.3.0

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

MockRecordRepository is a mock of RecordRepository interface.

func NewMockRecordRepository added in v1.3.0

func NewMockRecordRepository(ctrl *gomock.Controller) *MockRecordRepository

NewMockRecordRepository creates a new mock instance.

func (*MockRecordRepository) CountRecords added in v1.10.0

func (m *MockRecordRepository) CountRecords(arg0 context.Context, arg1 *domain.Entity) (uint64, error)

CountRecords mocks base method.

func (*MockRecordRepository) CreateRecord added in v1.3.0

func (m *MockRecordRepository) CreateRecord(arg0 context.Context, arg1 *domain.Entity, arg2 *pubdomain.Record) (*pubdomain.Record, error)

CreateRecord mocks base method.

func (*MockRecordRepository) DeleteRecord added in v1.7.0

func (m *MockRecordRepository) DeleteRecord(arg0 context.Context, arg1 *domain.Entity, arg2 string) error

DeleteRecord mocks base method.

func (*MockRecordRepository) EXPECT added in v1.3.0

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

func (*MockRecordRepository) GetRecord added in v1.5.0

func (m *MockRecordRepository) GetRecord(arg0 context.Context, arg1 *domain.Entity, arg2 string) (*pubdomain.Record, error)

GetRecord mocks base method.

func (*MockRecordRepository) ListRecords added in v1.9.0

func (m *MockRecordRepository) ListRecords(arg0 context.Context, arg1 *domain.Entity, arg2 *pubdomain.Pager) ([]*pubdomain.Record, error)

ListRecords mocks base method.

func (*MockRecordRepository) UpdateRecord added in v1.6.0

func (m *MockRecordRepository) UpdateRecord(arg0 context.Context, arg1 *domain.Entity, arg2 string, arg3 *pubdomain.Record) (*pubdomain.Record, error)

UpdateRecord mocks base method.

type MockRecordRepositoryMockRecorder added in v1.3.0

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

MockRecordRepositoryMockRecorder is the mock recorder for MockRecordRepository.

func (*MockRecordRepositoryMockRecorder) CountRecords added in v1.10.0

func (mr *MockRecordRepositoryMockRecorder) CountRecords(arg0, arg1 interface{}) *gomock.Call

CountRecords indicates an expected call of CountRecords.

func (*MockRecordRepositoryMockRecorder) CreateRecord added in v1.3.0

func (mr *MockRecordRepositoryMockRecorder) CreateRecord(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockRecordRepositoryMockRecorder) DeleteRecord added in v1.7.0

func (mr *MockRecordRepositoryMockRecorder) DeleteRecord(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockRecordRepositoryMockRecorder) GetRecord added in v1.5.0

func (mr *MockRecordRepositoryMockRecorder) GetRecord(arg0, arg1, arg2 interface{}) *gomock.Call

GetRecord indicates an expected call of GetRecord.

func (*MockRecordRepositoryMockRecorder) ListRecords added in v1.9.0

func (mr *MockRecordRepositoryMockRecorder) ListRecords(arg0, arg1, arg2 interface{}) *gomock.Call

ListRecords indicates an expected call of ListRecords.

func (*MockRecordRepositoryMockRecorder) UpdateRecord added in v1.6.0

func (mr *MockRecordRepositoryMockRecorder) UpdateRecord(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateRecord indicates an expected call of UpdateRecord.

Jump to

Keyboard shortcuts

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