mocks

package
v1.5.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func NewORM added in v1.5.0

func NewORM(t testing.TB) *ORM

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

func (*ORM) BridgeTypes

func (_m *ORM) BridgeTypes(offset int, limit int) ([]bridges.BridgeType, int, error)

BridgeTypes provides a mock function with given fields: offset, limit

func (*ORM) CreateBridgeType

func (_m *ORM) CreateBridgeType(bt *bridges.BridgeType) error

CreateBridgeType provides a mock function with given fields: bt

func (*ORM) CreateExternalInitiator

func (_m *ORM) CreateExternalInitiator(externalInitiator *bridges.ExternalInitiator) error

CreateExternalInitiator provides a mock function with given fields: externalInitiator

func (*ORM) DeleteBridgeType

func (_m *ORM) DeleteBridgeType(bt *bridges.BridgeType) error

DeleteBridgeType provides a mock function with given fields: bt

func (*ORM) DeleteExternalInitiator

func (_m *ORM) DeleteExternalInitiator(name string) error

DeleteExternalInitiator provides a mock function with given fields: name

func (*ORM) ExternalInitiators

func (_m *ORM) ExternalInitiators(offset int, limit int) ([]bridges.ExternalInitiator, int, error)

ExternalInitiators provides a mock function with given fields: offset, limit

func (*ORM) FindBridge

func (_m *ORM) FindBridge(name bridges.BridgeName) (bridges.BridgeType, error)

FindBridge provides a mock function with given fields: name

func (*ORM) FindBridges added in v1.3.0

func (_m *ORM) FindBridges(name []bridges.BridgeName) ([]bridges.BridgeType, error)

FindBridges provides a mock function with given fields: name

func (*ORM) FindExternalInitiator

func (_m *ORM) FindExternalInitiator(eia *auth.Token) (*bridges.ExternalInitiator, error)

FindExternalInitiator provides a mock function with given fields: eia

func (*ORM) FindExternalInitiatorByName

func (_m *ORM) FindExternalInitiatorByName(iname string) (bridges.ExternalInitiator, error)

FindExternalInitiatorByName provides a mock function with given fields: iname

func (*ORM) UpdateBridgeType

func (_m *ORM) UpdateBridgeType(bt *bridges.BridgeType, btr *bridges.BridgeTypeRequest) error

UpdateBridgeType provides a mock function with given fields: bt, btr

Jump to

Keyboard shortcuts

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