mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderRepository

type ProviderRepository struct {
	mock.Mock
}

ProviderRepository is an autogenerated mock type for the ProviderRepository type

func (*ProviderRepository) Create

func (_m *ProviderRepository) Create(_a0 *domain.Provider) (*domain.Provider, error)

Create provides a mock function with given fields: _a0

func (*ProviderRepository) Delete

func (_m *ProviderRepository) Delete(_a0 uint64) error

Delete provides a mock function with given fields: _a0

func (*ProviderRepository) Get

func (_m *ProviderRepository) Get(_a0 uint64) (*domain.Provider, error)

Get provides a mock function with given fields: _a0

func (*ProviderRepository) List

func (_m *ProviderRepository) List(_a0 map[string]interface{}) ([]*domain.Provider, error)

List provides a mock function with given fields: _a0

func (*ProviderRepository) Migrate

func (_m *ProviderRepository) Migrate() error

Migrate provides a mock function with given fields:

func (*ProviderRepository) Update

func (_m *ProviderRepository) Update(_a0 *domain.Provider) (*domain.Provider, error)

Update provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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