mocks

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountData

type AccountData struct {
	mock.Mock
}

AccountData is an autogenerated mock type for the AccountData type

func (*AccountData) Delete

func (_m *AccountData) Delete(_a0 *account.Account) error

Delete provides a mock function with given fields: _a0

func (*AccountData) Get

func (_m *AccountData) Get(ID string) (*account.Account, error)

Get provides a mock function with given fields: ID

func (*AccountData) List

func (_m *AccountData) List(query *account.Account) (*account.Accounts, error)

List provides a mock function with given fields: query

func (*AccountData) Write

func (_m *AccountData) Write(_a0 *account.Account, prevLastModifiedOn *int64) error

Write provides a mock function with given fields: _a0, prevLastModifiedOn

type LeaseData

type LeaseData struct {
	mock.Mock
}

LeaseData is an autogenerated mock type for the LeaseData type

func (*LeaseData) Get

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

Get provides a mock function with given fields: ID

func (*LeaseData) GetByAccountIDAndPrincipalID added in v0.30.1

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

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

func (*LeaseData) List

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

List provides a mock function with given fields: query

func (*LeaseData) Write

func (_m *LeaseData) Write(_a0 *lease.Lease, prevLastModifiedOn *int64) error

Write provides a mock function with given fields: _a0, prevLastModifiedOn

Jump to

Keyboard shortcuts

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