Documentation ¶
Index ¶
- type AccountData
- type LeaseData
- func (_m *LeaseData) Get(ID string) (*lease.Lease, error)
- func (_m *LeaseData) GetByAccountIDAndPrincipalID(accountID string, principalID string) (*lease.Lease, error)
- func (_m *LeaseData) List(query *lease.Lease) (*lease.Leases, error)
- func (_m *LeaseData) Write(_a0 *lease.Lease, prevLastModifiedOn *int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountData ¶
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
type LeaseData ¶
LeaseData is an autogenerated mock type for the LeaseData type
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
Click to show internal directories.
Click to hide internal directories.