Documentation ¶
Index ¶
- type NewORMT
- type ORM
- func (_m *ORM) BridgeTypes(offset int, limit int) ([]bridges.BridgeType, int, error)
- func (_m *ORM) CreateBridgeType(bt *bridges.BridgeType) error
- func (_m *ORM) CreateExternalInitiator(externalInitiator *bridges.ExternalInitiator) error
- func (_m *ORM) DeleteBridgeType(bt *bridges.BridgeType) error
- func (_m *ORM) DeleteExternalInitiator(name string) error
- func (_m *ORM) ExternalInitiators(offset int, limit int) ([]bridges.ExternalInitiator, int, error)
- func (_m *ORM) FindBridge(name bridges.BridgeName) (bridges.BridgeType, error)
- func (_m *ORM) FindBridges(name []bridges.BridgeName) ([]bridges.BridgeType, error)
- func (_m *ORM) FindExternalInitiator(eia *auth.Token) (*bridges.ExternalInitiator, error)
- func (_m *ORM) FindExternalInitiatorByName(iname string) (bridges.ExternalInitiator, error)
- func (_m *ORM) UpdateBridgeType(bt *bridges.BridgeType, btr *bridges.BridgeTypeRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶ added in v1.5.0
NewORM creates a new instance of ORM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ORM) BridgeTypes ¶
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 ¶
DeleteExternalInitiator provides a mock function with given fields: name
func (*ORM) ExternalInitiators ¶
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 ¶
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