mock_domain

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_domain is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Delete

func (m *MockRepository) Delete(ctx context.Context, id string) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetByCCID

func (m *MockRepository) GetByCCID(ctx context.Context, ccid string) (core.Domain, error)

GetByCCID mocks base method.

func (*MockRepository) GetByCSID

func (m *MockRepository) GetByCSID(ctx context.Context, ccid string) (core.Domain, error)

GetByCSID mocks base method.

func (*MockRepository) GetByFQDN

func (m *MockRepository) GetByFQDN(ctx context.Context, key string) (core.Domain, error)

GetByFQDN mocks base method.

func (*MockRepository) GetList

func (m *MockRepository) GetList(ctx context.Context) ([]core.Domain, error)

GetList mocks base method.

func (*MockRepository) Update

func (m *MockRepository) Update(ctx context.Context, host core.Domain) error

Update mocks base method.

func (*MockRepository) UpdateScrapeTime

func (m *MockRepository) UpdateScrapeTime(ctx context.Context, id string, scrapeTime time.Time) error

UpdateScrapeTime mocks base method.

func (*MockRepository) Upsert

func (m *MockRepository) Upsert(ctx context.Context, host core.Domain) (core.Domain, error)

Upsert mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) GetByCCID

func (mr *MockRepositoryMockRecorder) GetByCCID(ctx, ccid any) *gomock.Call

GetByCCID indicates an expected call of GetByCCID.

func (*MockRepositoryMockRecorder) GetByCSID

func (mr *MockRepositoryMockRecorder) GetByCSID(ctx, ccid any) *gomock.Call

GetByCSID indicates an expected call of GetByCSID.

func (*MockRepositoryMockRecorder) GetByFQDN

func (mr *MockRepositoryMockRecorder) GetByFQDN(ctx, key any) *gomock.Call

GetByFQDN indicates an expected call of GetByFQDN.

func (*MockRepositoryMockRecorder) GetList

func (mr *MockRepositoryMockRecorder) GetList(ctx any) *gomock.Call

GetList indicates an expected call of GetList.

func (*MockRepositoryMockRecorder) Update

func (mr *MockRepositoryMockRecorder) Update(ctx, host any) *gomock.Call

Update indicates an expected call of Update.

func (*MockRepositoryMockRecorder) UpdateScrapeTime

func (mr *MockRepositoryMockRecorder) UpdateScrapeTime(ctx, id, scrapeTime any) *gomock.Call

UpdateScrapeTime indicates an expected call of UpdateScrapeTime.

func (*MockRepositoryMockRecorder) Upsert

func (mr *MockRepositoryMockRecorder) Upsert(ctx, host any) *gomock.Call

Upsert indicates an expected call of Upsert.

Jump to

Keyboard shortcuts

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