mock_repository

package
v0.0.0-...-4e1f151 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGetURLCache

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

MockGetURLCache is a mock of GetURLCache interface

func NewMockGetURLCache

func NewMockGetURLCache(ctrl *gomock.Controller) *MockGetURLCache

NewMockGetURLCache creates a new mock instance

func (*MockGetURLCache) EXPECT

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

func (*MockGetURLCache) Get

func (m *MockGetURLCache) Get(ctx context.Context, code string) (*entity.URL, error)

Get mocks base method

func (*MockGetURLCache) Save

func (m *MockGetURLCache) Save(ctx context.Context, url *entity.URL) error

Save mocks base method

type MockGetURLCacheMockRecorder

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

MockGetURLCacheMockRecorder is the mock recorder for MockGetURLCache

func (*MockGetURLCacheMockRecorder) Get

func (mr *MockGetURLCacheMockRecorder) Get(ctx, code interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockGetURLCacheMockRecorder) Save

func (mr *MockGetURLCacheMockRecorder) Save(ctx, url interface{}) *gomock.Call

Save indicates an expected call of Save

type MockGetURLDatabase

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

MockGetURLDatabase is a mock of GetURLDatabase interface

func NewMockGetURLDatabase

func NewMockGetURLDatabase(ctrl *gomock.Controller) *MockGetURLDatabase

NewMockGetURLDatabase creates a new mock instance

func (*MockGetURLDatabase) EXPECT

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

func (*MockGetURLDatabase) GetAll

func (m *MockGetURLDatabase) GetAll(ctx context.Context) ([]*entity.URL, error)

GetAll mocks base method

func (*MockGetURLDatabase) GetByCode

func (m *MockGetURLDatabase) GetByCode(ctx context.Context, code string) (*entity.URL, error)

GetByCode mocks base method

type MockGetURLDatabaseMockRecorder

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

MockGetURLDatabaseMockRecorder is the mock recorder for MockGetURLDatabase

func (*MockGetURLDatabaseMockRecorder) GetAll

func (mr *MockGetURLDatabaseMockRecorder) GetAll(ctx interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockGetURLDatabaseMockRecorder) GetByCode

func (mr *MockGetURLDatabaseMockRecorder) GetByCode(ctx, code interface{}) *gomock.Call

GetByCode indicates an expected call of GetByCode

type MockHealthCheckerRepository

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

MockHealthCheckerRepository is a mock of HealthCheckerRepository interface

func NewMockHealthCheckerRepository

func NewMockHealthCheckerRepository(ctrl *gomock.Controller) *MockHealthCheckerRepository

NewMockHealthCheckerRepository creates a new mock instance

func (*MockHealthCheckerRepository) EXPECT

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

func (*MockHealthCheckerRepository) IsAlive

IsAlive mocks base method

type MockHealthCheckerRepositoryMockRecorder

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

MockHealthCheckerRepositoryMockRecorder is the mock recorder for MockHealthCheckerRepository

func (*MockHealthCheckerRepositoryMockRecorder) IsAlive

func (mr *MockHealthCheckerRepositoryMockRecorder) IsAlive(ctx interface{}) *gomock.Call

IsAlive indicates an expected call of IsAlive

type MockInsertURLCache

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

MockInsertURLCache is a mock of InsertURLCache interface

func NewMockInsertURLCache

func NewMockInsertURLCache(ctrl *gomock.Controller) *MockInsertURLCache

NewMockInsertURLCache creates a new mock instance

func (*MockInsertURLCache) EXPECT

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

func (*MockInsertURLCache) Save

func (m *MockInsertURLCache) Save(ctx context.Context, url *entity.URL) error

Save mocks base method

type MockInsertURLCacheMockRecorder

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

MockInsertURLCacheMockRecorder is the mock recorder for MockInsertURLCache

func (*MockInsertURLCacheMockRecorder) Save

func (mr *MockInsertURLCacheMockRecorder) Save(ctx, url interface{}) *gomock.Call

Save indicates an expected call of Save

type MockInsertURLDatabase

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

MockInsertURLDatabase is a mock of InsertURLDatabase interface

func NewMockInsertURLDatabase

func NewMockInsertURLDatabase(ctrl *gomock.Controller) *MockInsertURLDatabase

NewMockInsertURLDatabase creates a new mock instance

func (*MockInsertURLDatabase) EXPECT

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

func (*MockInsertURLDatabase) Insert

func (m *MockInsertURLDatabase) Insert(ctx context.Context, url *entity.URL) error

Insert mocks base method

type MockInsertURLDatabaseMockRecorder

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

MockInsertURLDatabaseMockRecorder is the mock recorder for MockInsertURLDatabase

func (*MockInsertURLDatabaseMockRecorder) Insert

func (mr *MockInsertURLDatabaseMockRecorder) Insert(ctx, url interface{}) *gomock.Call

Insert indicates an expected call of Insert

Jump to

Keyboard shortcuts

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