mocks

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 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 Servicer

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func (*Servicer) Create

func (_m *Servicer) Create(data *lease.Lease, principalSpentAmount float64) (*lease.Lease, error)

Create provides a mock function with given fields: data, principalSpentAmount

func (*Servicer) Delete

func (_m *Servicer) Delete(ID string) (*lease.Lease, error)

Delete provides a mock function with given fields: ID

func (*Servicer) Get

func (_m *Servicer) Get(ID string) (*lease.Lease, error)

Get provides a mock function with given fields: ID

func (*Servicer) GetByAccountIDAndPrincipalID added in v0.30.1

func (_m *Servicer) GetByAccountIDAndPrincipalID(accountID string, principalID string) (*lease.Lease, error)

GetByAccountIDAndPrincipalID provides a mock function with given fields: accountID, principalID

func (*Servicer) List

func (_m *Servicer) List(query *lease.Lease) (*lease.Leases, error)

List provides a mock function with given fields: query

func (*Servicer) ListPages

func (_m *Servicer) ListPages(query *lease.Lease, fn func(*lease.Leases) bool) error

ListPages provides a mock function with given fields: query, fn

Jump to

Keyboard shortcuts

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