mocks

package
v0.0.4-prerelease Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Publish

func (_m *Publisher) Publish(i interface{}) error

Publish provides a mock function with given fields: i

type Servicer

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func NewServicer

func NewServicer(t mockConstructorTestingTNewServicer) *Servicer

NewServicer creates a new instance of Servicer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Servicer) AccountCreate

func (_m *Servicer) AccountCreate(data *account.Account) error

AccountCreate provides a mock function with given fields: data

func (*Servicer) AccountDelete

func (_m *Servicer) AccountDelete(data *account.Account) error

AccountDelete provides a mock function with given fields: data

func (*Servicer) AccountReset

func (_m *Servicer) AccountReset(data *account.Account) error

AccountReset provides a mock function with given fields: data

func (*Servicer) AccountUpdate

func (_m *Servicer) AccountUpdate(old *account.Account, new *account.Account) error

AccountUpdate provides a mock function with given fields: old, new

func (*Servicer) LeaseCreate

func (_m *Servicer) LeaseCreate(data *lease.Lease) error

LeaseCreate provides a mock function with given fields: data

func (*Servicer) LeaseEnd

func (_m *Servicer) LeaseEnd(data *lease.Lease) error

LeaseEnd provides a mock function with given fields: data

func (*Servicer) LeaseUpdate

func (_m *Servicer) LeaseUpdate(old *lease.Lease, new *lease.Lease) error

LeaseUpdate provides a mock function with given fields: old, new

Jump to

Keyboard shortcuts

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