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: 3 Imported by: 0

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 added in v0.34.0

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func NewServicer added in v0.34.0

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 added in v0.34.0

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

AccountCreate provides a mock function with given fields: data

func (*Servicer) AccountDelete added in v0.34.0

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

AccountDelete provides a mock function with given fields: data

func (*Servicer) AccountReset added in v0.34.0

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

AccountReset provides a mock function with given fields: data

func (*Servicer) AccountUpdate added in v0.34.0

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

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

func (*Servicer) LeaseCreate added in v0.34.0

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

LeaseCreate provides a mock function with given fields: data

func (*Servicer) LeaseEnd added in v0.34.0

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

LeaseEnd provides a mock function with given fields: data

func (*Servicer) LeaseUpdate added in v0.34.0

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