Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) BridgeTypes(ctx context.Context, offset int, limit int) ([]bridges.BridgeType, int, error)
- func (_m *ORM) BulkUpsertBridgeResponse(ctx context.Context, responses []bridges.BridgeResponse) error
- func (_m *ORM) CreateBridgeType(ctx context.Context, bt *bridges.BridgeType) error
- func (_m *ORM) CreateExternalInitiator(ctx context.Context, externalInitiator *bridges.ExternalInitiator) error
- func (_m *ORM) DeleteBridgeType(ctx context.Context, bt *bridges.BridgeType) error
- func (_m *ORM) DeleteExternalInitiator(ctx context.Context, name string) error
- func (_m *ORM) EXPECT() *ORM_Expecter
- func (_m *ORM) ExternalInitiators(ctx context.Context, offset int, limit int) ([]bridges.ExternalInitiator, int, error)
- func (_m *ORM) FindBridge(ctx context.Context, name bridges.BridgeName) (bridges.BridgeType, error)
- func (_m *ORM) FindBridges(ctx context.Context, name []bridges.BridgeName) ([]bridges.BridgeType, error)
- func (_m *ORM) FindExternalInitiator(ctx context.Context, eia *auth.Token) (*bridges.ExternalInitiator, error)
- func (_m *ORM) FindExternalInitiatorByName(ctx context.Context, iname string) (bridges.ExternalInitiator, error)
- func (_m *ORM) GetCachedResponse(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration) ([]byte, error)
- func (_m *ORM) GetCachedResponseWithFinished(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration) ([]byte, time.Time, error)
- func (_m *ORM) UpdateBridgeType(ctx context.Context, bt *bridges.BridgeType, btr *bridges.BridgeTypeRequest) error
- func (_m *ORM) UpsertBridgeResponse(ctx context.Context, dotId string, specId int32, response []byte) error
- func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) bridges.ORM
- type ORM_BridgeTypes_Call
- func (_c *ORM_BridgeTypes_Call) Return(_a0 []bridges.BridgeType, _a1 int, _a2 error) *ORM_BridgeTypes_Call
- func (_c *ORM_BridgeTypes_Call) Run(run func(ctx context.Context, offset int, limit int)) *ORM_BridgeTypes_Call
- func (_c *ORM_BridgeTypes_Call) RunAndReturn(run func(context.Context, int, int) ([]bridges.BridgeType, int, error)) *ORM_BridgeTypes_Call
- type ORM_BulkUpsertBridgeResponse_Call
- func (_c *ORM_BulkUpsertBridgeResponse_Call) Return(_a0 error) *ORM_BulkUpsertBridgeResponse_Call
- func (_c *ORM_BulkUpsertBridgeResponse_Call) Run(run func(ctx context.Context, responses []bridges.BridgeResponse)) *ORM_BulkUpsertBridgeResponse_Call
- func (_c *ORM_BulkUpsertBridgeResponse_Call) RunAndReturn(run func(context.Context, []bridges.BridgeResponse) error) *ORM_BulkUpsertBridgeResponse_Call
- type ORM_CreateBridgeType_Call
- func (_c *ORM_CreateBridgeType_Call) Return(_a0 error) *ORM_CreateBridgeType_Call
- func (_c *ORM_CreateBridgeType_Call) Run(run func(ctx context.Context, bt *bridges.BridgeType)) *ORM_CreateBridgeType_Call
- func (_c *ORM_CreateBridgeType_Call) RunAndReturn(run func(context.Context, *bridges.BridgeType) error) *ORM_CreateBridgeType_Call
- type ORM_CreateExternalInitiator_Call
- func (_c *ORM_CreateExternalInitiator_Call) Return(_a0 error) *ORM_CreateExternalInitiator_Call
- func (_c *ORM_CreateExternalInitiator_Call) Run(run func(ctx context.Context, externalInitiator *bridges.ExternalInitiator)) *ORM_CreateExternalInitiator_Call
- func (_c *ORM_CreateExternalInitiator_Call) RunAndReturn(run func(context.Context, *bridges.ExternalInitiator) error) *ORM_CreateExternalInitiator_Call
- type ORM_DeleteBridgeType_Call
- func (_c *ORM_DeleteBridgeType_Call) Return(_a0 error) *ORM_DeleteBridgeType_Call
- func (_c *ORM_DeleteBridgeType_Call) Run(run func(ctx context.Context, bt *bridges.BridgeType)) *ORM_DeleteBridgeType_Call
- func (_c *ORM_DeleteBridgeType_Call) RunAndReturn(run func(context.Context, *bridges.BridgeType) error) *ORM_DeleteBridgeType_Call
- type ORM_DeleteExternalInitiator_Call
- func (_c *ORM_DeleteExternalInitiator_Call) Return(_a0 error) *ORM_DeleteExternalInitiator_Call
- func (_c *ORM_DeleteExternalInitiator_Call) Run(run func(ctx context.Context, name string)) *ORM_DeleteExternalInitiator_Call
- func (_c *ORM_DeleteExternalInitiator_Call) RunAndReturn(run func(context.Context, string) error) *ORM_DeleteExternalInitiator_Call
- type ORM_Expecter
- func (_e *ORM_Expecter) BridgeTypes(ctx interface{}, offset interface{}, limit interface{}) *ORM_BridgeTypes_Call
- func (_e *ORM_Expecter) BulkUpsertBridgeResponse(ctx interface{}, responses interface{}) *ORM_BulkUpsertBridgeResponse_Call
- func (_e *ORM_Expecter) CreateBridgeType(ctx interface{}, bt interface{}) *ORM_CreateBridgeType_Call
- func (_e *ORM_Expecter) CreateExternalInitiator(ctx interface{}, externalInitiator interface{}) *ORM_CreateExternalInitiator_Call
- func (_e *ORM_Expecter) DeleteBridgeType(ctx interface{}, bt interface{}) *ORM_DeleteBridgeType_Call
- func (_e *ORM_Expecter) DeleteExternalInitiator(ctx interface{}, name interface{}) *ORM_DeleteExternalInitiator_Call
- func (_e *ORM_Expecter) ExternalInitiators(ctx interface{}, offset interface{}, limit interface{}) *ORM_ExternalInitiators_Call
- func (_e *ORM_Expecter) FindBridge(ctx interface{}, name interface{}) *ORM_FindBridge_Call
- func (_e *ORM_Expecter) FindBridges(ctx interface{}, name interface{}) *ORM_FindBridges_Call
- func (_e *ORM_Expecter) FindExternalInitiator(ctx interface{}, eia interface{}) *ORM_FindExternalInitiator_Call
- func (_e *ORM_Expecter) FindExternalInitiatorByName(ctx interface{}, iname interface{}) *ORM_FindExternalInitiatorByName_Call
- func (_e *ORM_Expecter) GetCachedResponse(ctx interface{}, dotId interface{}, specId interface{}, maxElapsed interface{}) *ORM_GetCachedResponse_Call
- func (_e *ORM_Expecter) GetCachedResponseWithFinished(ctx interface{}, dotId interface{}, specId interface{}, maxElapsed interface{}) *ORM_GetCachedResponseWithFinished_Call
- func (_e *ORM_Expecter) UpdateBridgeType(ctx interface{}, bt interface{}, btr interface{}) *ORM_UpdateBridgeType_Call
- func (_e *ORM_Expecter) UpsertBridgeResponse(ctx interface{}, dotId interface{}, specId interface{}, response interface{}) *ORM_UpsertBridgeResponse_Call
- func (_e *ORM_Expecter) WithDataSource(_a0 interface{}) *ORM_WithDataSource_Call
- type ORM_ExternalInitiators_Call
- func (_c *ORM_ExternalInitiators_Call) Return(_a0 []bridges.ExternalInitiator, _a1 int, _a2 error) *ORM_ExternalInitiators_Call
- func (_c *ORM_ExternalInitiators_Call) Run(run func(ctx context.Context, offset int, limit int)) *ORM_ExternalInitiators_Call
- func (_c *ORM_ExternalInitiators_Call) RunAndReturn(run func(context.Context, int, int) ([]bridges.ExternalInitiator, int, error)) *ORM_ExternalInitiators_Call
- type ORM_FindBridge_Call
- func (_c *ORM_FindBridge_Call) Return(bt bridges.BridgeType, err error) *ORM_FindBridge_Call
- func (_c *ORM_FindBridge_Call) Run(run func(ctx context.Context, name bridges.BridgeName)) *ORM_FindBridge_Call
- func (_c *ORM_FindBridge_Call) RunAndReturn(run func(context.Context, bridges.BridgeName) (bridges.BridgeType, error)) *ORM_FindBridge_Call
- type ORM_FindBridges_Call
- func (_c *ORM_FindBridges_Call) Return(bts []bridges.BridgeType, err error) *ORM_FindBridges_Call
- func (_c *ORM_FindBridges_Call) Run(run func(ctx context.Context, name []bridges.BridgeName)) *ORM_FindBridges_Call
- func (_c *ORM_FindBridges_Call) RunAndReturn(run func(context.Context, []bridges.BridgeName) ([]bridges.BridgeType, error)) *ORM_FindBridges_Call
- type ORM_FindExternalInitiatorByName_Call
- func (_c *ORM_FindExternalInitiatorByName_Call) Return(exi bridges.ExternalInitiator, err error) *ORM_FindExternalInitiatorByName_Call
- func (_c *ORM_FindExternalInitiatorByName_Call) Run(run func(ctx context.Context, iname string)) *ORM_FindExternalInitiatorByName_Call
- func (_c *ORM_FindExternalInitiatorByName_Call) RunAndReturn(run func(context.Context, string) (bridges.ExternalInitiator, error)) *ORM_FindExternalInitiatorByName_Call
- type ORM_FindExternalInitiator_Call
- func (_c *ORM_FindExternalInitiator_Call) Return(_a0 *bridges.ExternalInitiator, _a1 error) *ORM_FindExternalInitiator_Call
- func (_c *ORM_FindExternalInitiator_Call) Run(run func(ctx context.Context, eia *auth.Token)) *ORM_FindExternalInitiator_Call
- func (_c *ORM_FindExternalInitiator_Call) RunAndReturn(run func(context.Context, *auth.Token) (*bridges.ExternalInitiator, error)) *ORM_FindExternalInitiator_Call
- type ORM_GetCachedResponseWithFinished_Call
- func (_c *ORM_GetCachedResponseWithFinished_Call) Return(_a0 []byte, _a1 time.Time, _a2 error) *ORM_GetCachedResponseWithFinished_Call
- func (_c *ORM_GetCachedResponseWithFinished_Call) Run(...) *ORM_GetCachedResponseWithFinished_Call
- func (_c *ORM_GetCachedResponseWithFinished_Call) RunAndReturn(...) *ORM_GetCachedResponseWithFinished_Call
- type ORM_GetCachedResponse_Call
- func (_c *ORM_GetCachedResponse_Call) Return(_a0 []byte, _a1 error) *ORM_GetCachedResponse_Call
- func (_c *ORM_GetCachedResponse_Call) Run(...) *ORM_GetCachedResponse_Call
- func (_c *ORM_GetCachedResponse_Call) RunAndReturn(run func(context.Context, string, int32, time.Duration) ([]byte, error)) *ORM_GetCachedResponse_Call
- type ORM_UpdateBridgeType_Call
- type ORM_UpsertBridgeResponse_Call
- func (_c *ORM_UpsertBridgeResponse_Call) Return(_a0 error) *ORM_UpsertBridgeResponse_Call
- func (_c *ORM_UpsertBridgeResponse_Call) Run(run func(ctx context.Context, dotId string, specId int32, response []byte)) *ORM_UpsertBridgeResponse_Call
- func (_c *ORM_UpsertBridgeResponse_Call) RunAndReturn(run func(context.Context, string, int32, []byte) error) *ORM_UpsertBridgeResponse_Call
- type ORM_WithDataSource_Call
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 ¶
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. The first argument is typically a *testing.T value.
func (*ORM) BridgeTypes ¶
func (_m *ORM) BridgeTypes(ctx context.Context, offset int, limit int) ([]bridges.BridgeType, int, error)
BridgeTypes provides a mock function with given fields: ctx, offset, limit
func (*ORM) BulkUpsertBridgeResponse ¶ added in v2.14.0
func (_m *ORM) BulkUpsertBridgeResponse(ctx context.Context, responses []bridges.BridgeResponse) error
BulkUpsertBridgeResponse provides a mock function with given fields: ctx, responses
func (*ORM) CreateBridgeType ¶
CreateBridgeType provides a mock function with given fields: ctx, bt
func (*ORM) CreateExternalInitiator ¶
func (_m *ORM) CreateExternalInitiator(ctx context.Context, externalInitiator *bridges.ExternalInitiator) error
CreateExternalInitiator provides a mock function with given fields: ctx, externalInitiator
func (*ORM) DeleteBridgeType ¶
DeleteBridgeType provides a mock function with given fields: ctx, bt
func (*ORM) DeleteExternalInitiator ¶
DeleteExternalInitiator provides a mock function with given fields: ctx, name
func (*ORM) EXPECT ¶ added in v2.15.0
func (_m *ORM) EXPECT() *ORM_Expecter
func (*ORM) ExternalInitiators ¶
func (_m *ORM) ExternalInitiators(ctx context.Context, offset int, limit int) ([]bridges.ExternalInitiator, int, error)
ExternalInitiators provides a mock function with given fields: ctx, offset, limit
func (*ORM) FindBridge ¶
func (_m *ORM) FindBridge(ctx context.Context, name bridges.BridgeName) (bridges.BridgeType, error)
FindBridge provides a mock function with given fields: ctx, name
func (*ORM) FindBridges ¶
func (_m *ORM) FindBridges(ctx context.Context, name []bridges.BridgeName) ([]bridges.BridgeType, error)
FindBridges provides a mock function with given fields: ctx, name
func (*ORM) FindExternalInitiator ¶
func (_m *ORM) FindExternalInitiator(ctx context.Context, eia *auth.Token) (*bridges.ExternalInitiator, error)
FindExternalInitiator provides a mock function with given fields: ctx, eia
func (*ORM) FindExternalInitiatorByName ¶
func (_m *ORM) FindExternalInitiatorByName(ctx context.Context, iname string) (bridges.ExternalInitiator, error)
FindExternalInitiatorByName provides a mock function with given fields: ctx, iname
func (*ORM) GetCachedResponse ¶
func (_m *ORM) GetCachedResponse(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration) ([]byte, error)
GetCachedResponse provides a mock function with given fields: ctx, dotId, specId, maxElapsed
func (*ORM) GetCachedResponseWithFinished ¶ added in v2.14.0
func (_m *ORM) GetCachedResponseWithFinished(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration) ([]byte, time.Time, error)
GetCachedResponseWithFinished provides a mock function with given fields: ctx, dotId, specId, maxElapsed
func (*ORM) UpdateBridgeType ¶
func (_m *ORM) UpdateBridgeType(ctx context.Context, bt *bridges.BridgeType, btr *bridges.BridgeTypeRequest) error
UpdateBridgeType provides a mock function with given fields: ctx, bt, btr
func (*ORM) UpsertBridgeResponse ¶
func (_m *ORM) UpsertBridgeResponse(ctx context.Context, dotId string, specId int32, response []byte) error
UpsertBridgeResponse provides a mock function with given fields: ctx, dotId, specId, response
func (*ORM) WithDataSource ¶ added in v2.12.0
func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) bridges.ORM
WithDataSource provides a mock function with given fields: _a0
type ORM_BridgeTypes_Call ¶ added in v2.15.0
ORM_BridgeTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BridgeTypes'
func (*ORM_BridgeTypes_Call) Return ¶ added in v2.15.0
func (_c *ORM_BridgeTypes_Call) Return(_a0 []bridges.BridgeType, _a1 int, _a2 error) *ORM_BridgeTypes_Call
func (*ORM_BridgeTypes_Call) Run ¶ added in v2.15.0
func (_c *ORM_BridgeTypes_Call) Run(run func(ctx context.Context, offset int, limit int)) *ORM_BridgeTypes_Call
func (*ORM_BridgeTypes_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_BridgeTypes_Call) RunAndReturn(run func(context.Context, int, int) ([]bridges.BridgeType, int, error)) *ORM_BridgeTypes_Call
type ORM_BulkUpsertBridgeResponse_Call ¶ added in v2.15.0
ORM_BulkUpsertBridgeResponse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkUpsertBridgeResponse'
func (*ORM_BulkUpsertBridgeResponse_Call) Return ¶ added in v2.15.0
func (_c *ORM_BulkUpsertBridgeResponse_Call) Return(_a0 error) *ORM_BulkUpsertBridgeResponse_Call
func (*ORM_BulkUpsertBridgeResponse_Call) Run ¶ added in v2.15.0
func (_c *ORM_BulkUpsertBridgeResponse_Call) Run(run func(ctx context.Context, responses []bridges.BridgeResponse)) *ORM_BulkUpsertBridgeResponse_Call
func (*ORM_BulkUpsertBridgeResponse_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_BulkUpsertBridgeResponse_Call) RunAndReturn(run func(context.Context, []bridges.BridgeResponse) error) *ORM_BulkUpsertBridgeResponse_Call
type ORM_CreateBridgeType_Call ¶ added in v2.15.0
ORM_CreateBridgeType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBridgeType'
func (*ORM_CreateBridgeType_Call) Return ¶ added in v2.15.0
func (_c *ORM_CreateBridgeType_Call) Return(_a0 error) *ORM_CreateBridgeType_Call
func (*ORM_CreateBridgeType_Call) Run ¶ added in v2.15.0
func (_c *ORM_CreateBridgeType_Call) Run(run func(ctx context.Context, bt *bridges.BridgeType)) *ORM_CreateBridgeType_Call
func (*ORM_CreateBridgeType_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_CreateBridgeType_Call) RunAndReturn(run func(context.Context, *bridges.BridgeType) error) *ORM_CreateBridgeType_Call
type ORM_CreateExternalInitiator_Call ¶ added in v2.15.0
ORM_CreateExternalInitiator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExternalInitiator'
func (*ORM_CreateExternalInitiator_Call) Return ¶ added in v2.15.0
func (_c *ORM_CreateExternalInitiator_Call) Return(_a0 error) *ORM_CreateExternalInitiator_Call
func (*ORM_CreateExternalInitiator_Call) Run ¶ added in v2.15.0
func (_c *ORM_CreateExternalInitiator_Call) Run(run func(ctx context.Context, externalInitiator *bridges.ExternalInitiator)) *ORM_CreateExternalInitiator_Call
func (*ORM_CreateExternalInitiator_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_CreateExternalInitiator_Call) RunAndReturn(run func(context.Context, *bridges.ExternalInitiator) error) *ORM_CreateExternalInitiator_Call
type ORM_DeleteBridgeType_Call ¶ added in v2.15.0
ORM_DeleteBridgeType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBridgeType'
func (*ORM_DeleteBridgeType_Call) Return ¶ added in v2.15.0
func (_c *ORM_DeleteBridgeType_Call) Return(_a0 error) *ORM_DeleteBridgeType_Call
func (*ORM_DeleteBridgeType_Call) Run ¶ added in v2.15.0
func (_c *ORM_DeleteBridgeType_Call) Run(run func(ctx context.Context, bt *bridges.BridgeType)) *ORM_DeleteBridgeType_Call
func (*ORM_DeleteBridgeType_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_DeleteBridgeType_Call) RunAndReturn(run func(context.Context, *bridges.BridgeType) error) *ORM_DeleteBridgeType_Call
type ORM_DeleteExternalInitiator_Call ¶ added in v2.15.0
ORM_DeleteExternalInitiator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteExternalInitiator'
func (*ORM_DeleteExternalInitiator_Call) Return ¶ added in v2.15.0
func (_c *ORM_DeleteExternalInitiator_Call) Return(_a0 error) *ORM_DeleteExternalInitiator_Call
func (*ORM_DeleteExternalInitiator_Call) Run ¶ added in v2.15.0
func (_c *ORM_DeleteExternalInitiator_Call) Run(run func(ctx context.Context, name string)) *ORM_DeleteExternalInitiator_Call
func (*ORM_DeleteExternalInitiator_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_DeleteExternalInitiator_Call) RunAndReturn(run func(context.Context, string) error) *ORM_DeleteExternalInitiator_Call
type ORM_Expecter ¶ added in v2.15.0
type ORM_Expecter struct {
// contains filtered or unexported fields
}
func (*ORM_Expecter) BridgeTypes ¶ added in v2.15.0
func (_e *ORM_Expecter) BridgeTypes(ctx interface{}, offset interface{}, limit interface{}) *ORM_BridgeTypes_Call
BridgeTypes is a helper method to define mock.On call
- ctx context.Context
- offset int
- limit int
func (*ORM_Expecter) BulkUpsertBridgeResponse ¶ added in v2.15.0
func (_e *ORM_Expecter) BulkUpsertBridgeResponse(ctx interface{}, responses interface{}) *ORM_BulkUpsertBridgeResponse_Call
BulkUpsertBridgeResponse is a helper method to define mock.On call
- ctx context.Context
- responses []bridges.BridgeResponse
func (*ORM_Expecter) CreateBridgeType ¶ added in v2.15.0
func (_e *ORM_Expecter) CreateBridgeType(ctx interface{}, bt interface{}) *ORM_CreateBridgeType_Call
CreateBridgeType is a helper method to define mock.On call
- ctx context.Context
- bt *bridges.BridgeType
func (*ORM_Expecter) CreateExternalInitiator ¶ added in v2.15.0
func (_e *ORM_Expecter) CreateExternalInitiator(ctx interface{}, externalInitiator interface{}) *ORM_CreateExternalInitiator_Call
CreateExternalInitiator is a helper method to define mock.On call
- ctx context.Context
- externalInitiator *bridges.ExternalInitiator
func (*ORM_Expecter) DeleteBridgeType ¶ added in v2.15.0
func (_e *ORM_Expecter) DeleteBridgeType(ctx interface{}, bt interface{}) *ORM_DeleteBridgeType_Call
DeleteBridgeType is a helper method to define mock.On call
- ctx context.Context
- bt *bridges.BridgeType
func (*ORM_Expecter) DeleteExternalInitiator ¶ added in v2.15.0
func (_e *ORM_Expecter) DeleteExternalInitiator(ctx interface{}, name interface{}) *ORM_DeleteExternalInitiator_Call
DeleteExternalInitiator is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ORM_Expecter) ExternalInitiators ¶ added in v2.15.0
func (_e *ORM_Expecter) ExternalInitiators(ctx interface{}, offset interface{}, limit interface{}) *ORM_ExternalInitiators_Call
ExternalInitiators is a helper method to define mock.On call
- ctx context.Context
- offset int
- limit int
func (*ORM_Expecter) FindBridge ¶ added in v2.15.0
func (_e *ORM_Expecter) FindBridge(ctx interface{}, name interface{}) *ORM_FindBridge_Call
FindBridge is a helper method to define mock.On call
- ctx context.Context
- name bridges.BridgeName
func (*ORM_Expecter) FindBridges ¶ added in v2.15.0
func (_e *ORM_Expecter) FindBridges(ctx interface{}, name interface{}) *ORM_FindBridges_Call
FindBridges is a helper method to define mock.On call
- ctx context.Context
- name []bridges.BridgeName
func (*ORM_Expecter) FindExternalInitiator ¶ added in v2.15.0
func (_e *ORM_Expecter) FindExternalInitiator(ctx interface{}, eia interface{}) *ORM_FindExternalInitiator_Call
FindExternalInitiator is a helper method to define mock.On call
- ctx context.Context
- eia *auth.Token
func (*ORM_Expecter) FindExternalInitiatorByName ¶ added in v2.15.0
func (_e *ORM_Expecter) FindExternalInitiatorByName(ctx interface{}, iname interface{}) *ORM_FindExternalInitiatorByName_Call
FindExternalInitiatorByName is a helper method to define mock.On call
- ctx context.Context
- iname string
func (*ORM_Expecter) GetCachedResponse ¶ added in v2.15.0
func (_e *ORM_Expecter) GetCachedResponse(ctx interface{}, dotId interface{}, specId interface{}, maxElapsed interface{}) *ORM_GetCachedResponse_Call
GetCachedResponse is a helper method to define mock.On call
- ctx context.Context
- dotId string
- specId int32
- maxElapsed time.Duration
func (*ORM_Expecter) GetCachedResponseWithFinished ¶ added in v2.15.0
func (_e *ORM_Expecter) GetCachedResponseWithFinished(ctx interface{}, dotId interface{}, specId interface{}, maxElapsed interface{}) *ORM_GetCachedResponseWithFinished_Call
GetCachedResponseWithFinished is a helper method to define mock.On call
- ctx context.Context
- dotId string
- specId int32
- maxElapsed time.Duration
func (*ORM_Expecter) UpdateBridgeType ¶ added in v2.15.0
func (_e *ORM_Expecter) UpdateBridgeType(ctx interface{}, bt interface{}, btr interface{}) *ORM_UpdateBridgeType_Call
UpdateBridgeType is a helper method to define mock.On call
- ctx context.Context
- bt *bridges.BridgeType
- btr *bridges.BridgeTypeRequest
func (*ORM_Expecter) UpsertBridgeResponse ¶ added in v2.15.0
func (_e *ORM_Expecter) UpsertBridgeResponse(ctx interface{}, dotId interface{}, specId interface{}, response interface{}) *ORM_UpsertBridgeResponse_Call
UpsertBridgeResponse is a helper method to define mock.On call
- ctx context.Context
- dotId string
- specId int32
- response []byte
func (*ORM_Expecter) WithDataSource ¶ added in v2.15.0
func (_e *ORM_Expecter) WithDataSource(_a0 interface{}) *ORM_WithDataSource_Call
WithDataSource is a helper method to define mock.On call
- _a0 sqlutil.DataSource
type ORM_ExternalInitiators_Call ¶ added in v2.15.0
ORM_ExternalInitiators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExternalInitiators'
func (*ORM_ExternalInitiators_Call) Return ¶ added in v2.15.0
func (_c *ORM_ExternalInitiators_Call) Return(_a0 []bridges.ExternalInitiator, _a1 int, _a2 error) *ORM_ExternalInitiators_Call
func (*ORM_ExternalInitiators_Call) Run ¶ added in v2.15.0
func (_c *ORM_ExternalInitiators_Call) Run(run func(ctx context.Context, offset int, limit int)) *ORM_ExternalInitiators_Call
func (*ORM_ExternalInitiators_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_ExternalInitiators_Call) RunAndReturn(run func(context.Context, int, int) ([]bridges.ExternalInitiator, int, error)) *ORM_ExternalInitiators_Call
type ORM_FindBridge_Call ¶ added in v2.15.0
ORM_FindBridge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindBridge'
func (*ORM_FindBridge_Call) Return ¶ added in v2.15.0
func (_c *ORM_FindBridge_Call) Return(bt bridges.BridgeType, err error) *ORM_FindBridge_Call
func (*ORM_FindBridge_Call) Run ¶ added in v2.15.0
func (_c *ORM_FindBridge_Call) Run(run func(ctx context.Context, name bridges.BridgeName)) *ORM_FindBridge_Call
func (*ORM_FindBridge_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_FindBridge_Call) RunAndReturn(run func(context.Context, bridges.BridgeName) (bridges.BridgeType, error)) *ORM_FindBridge_Call
type ORM_FindBridges_Call ¶ added in v2.15.0
ORM_FindBridges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindBridges'
func (*ORM_FindBridges_Call) Return ¶ added in v2.15.0
func (_c *ORM_FindBridges_Call) Return(bts []bridges.BridgeType, err error) *ORM_FindBridges_Call
func (*ORM_FindBridges_Call) Run ¶ added in v2.15.0
func (_c *ORM_FindBridges_Call) Run(run func(ctx context.Context, name []bridges.BridgeName)) *ORM_FindBridges_Call
func (*ORM_FindBridges_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_FindBridges_Call) RunAndReturn(run func(context.Context, []bridges.BridgeName) ([]bridges.BridgeType, error)) *ORM_FindBridges_Call
type ORM_FindExternalInitiatorByName_Call ¶ added in v2.15.0
ORM_FindExternalInitiatorByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExternalInitiatorByName'
func (*ORM_FindExternalInitiatorByName_Call) Return ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiatorByName_Call) Return(exi bridges.ExternalInitiator, err error) *ORM_FindExternalInitiatorByName_Call
func (*ORM_FindExternalInitiatorByName_Call) Run ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiatorByName_Call) Run(run func(ctx context.Context, iname string)) *ORM_FindExternalInitiatorByName_Call
func (*ORM_FindExternalInitiatorByName_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiatorByName_Call) RunAndReturn(run func(context.Context, string) (bridges.ExternalInitiator, error)) *ORM_FindExternalInitiatorByName_Call
type ORM_FindExternalInitiator_Call ¶ added in v2.15.0
ORM_FindExternalInitiator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExternalInitiator'
func (*ORM_FindExternalInitiator_Call) Return ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiator_Call) Return(_a0 *bridges.ExternalInitiator, _a1 error) *ORM_FindExternalInitiator_Call
func (*ORM_FindExternalInitiator_Call) Run ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiator_Call) Run(run func(ctx context.Context, eia *auth.Token)) *ORM_FindExternalInitiator_Call
func (*ORM_FindExternalInitiator_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_FindExternalInitiator_Call) RunAndReturn(run func(context.Context, *auth.Token) (*bridges.ExternalInitiator, error)) *ORM_FindExternalInitiator_Call
type ORM_GetCachedResponseWithFinished_Call ¶ added in v2.15.0
ORM_GetCachedResponseWithFinished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCachedResponseWithFinished'
func (*ORM_GetCachedResponseWithFinished_Call) Return ¶ added in v2.15.0
func (_c *ORM_GetCachedResponseWithFinished_Call) Return(_a0 []byte, _a1 time.Time, _a2 error) *ORM_GetCachedResponseWithFinished_Call
func (*ORM_GetCachedResponseWithFinished_Call) Run ¶ added in v2.15.0
func (_c *ORM_GetCachedResponseWithFinished_Call) Run(run func(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration)) *ORM_GetCachedResponseWithFinished_Call
func (*ORM_GetCachedResponseWithFinished_Call) RunAndReturn ¶ added in v2.15.0
type ORM_GetCachedResponse_Call ¶ added in v2.15.0
ORM_GetCachedResponse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCachedResponse'
func (*ORM_GetCachedResponse_Call) Return ¶ added in v2.15.0
func (_c *ORM_GetCachedResponse_Call) Return(_a0 []byte, _a1 error) *ORM_GetCachedResponse_Call
func (*ORM_GetCachedResponse_Call) Run ¶ added in v2.15.0
func (_c *ORM_GetCachedResponse_Call) Run(run func(ctx context.Context, dotId string, specId int32, maxElapsed time.Duration)) *ORM_GetCachedResponse_Call
func (*ORM_GetCachedResponse_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_GetCachedResponse_Call) RunAndReturn(run func(context.Context, string, int32, time.Duration) ([]byte, error)) *ORM_GetCachedResponse_Call
type ORM_UpdateBridgeType_Call ¶ added in v2.15.0
ORM_UpdateBridgeType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBridgeType'
func (*ORM_UpdateBridgeType_Call) Return ¶ added in v2.15.0
func (_c *ORM_UpdateBridgeType_Call) Return(_a0 error) *ORM_UpdateBridgeType_Call
func (*ORM_UpdateBridgeType_Call) Run ¶ added in v2.15.0
func (_c *ORM_UpdateBridgeType_Call) Run(run func(ctx context.Context, bt *bridges.BridgeType, btr *bridges.BridgeTypeRequest)) *ORM_UpdateBridgeType_Call
func (*ORM_UpdateBridgeType_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_UpdateBridgeType_Call) RunAndReturn(run func(context.Context, *bridges.BridgeType, *bridges.BridgeTypeRequest) error) *ORM_UpdateBridgeType_Call
type ORM_UpsertBridgeResponse_Call ¶ added in v2.15.0
ORM_UpsertBridgeResponse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertBridgeResponse'
func (*ORM_UpsertBridgeResponse_Call) Return ¶ added in v2.15.0
func (_c *ORM_UpsertBridgeResponse_Call) Return(_a0 error) *ORM_UpsertBridgeResponse_Call
func (*ORM_UpsertBridgeResponse_Call) Run ¶ added in v2.15.0
func (_c *ORM_UpsertBridgeResponse_Call) Run(run func(ctx context.Context, dotId string, specId int32, response []byte)) *ORM_UpsertBridgeResponse_Call
func (*ORM_UpsertBridgeResponse_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_UpsertBridgeResponse_Call) RunAndReturn(run func(context.Context, string, int32, []byte) error) *ORM_UpsertBridgeResponse_Call
type ORM_WithDataSource_Call ¶ added in v2.15.0
ORM_WithDataSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithDataSource'
func (*ORM_WithDataSource_Call) Return ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) Return(_a0 bridges.ORM) *ORM_WithDataSource_Call
func (*ORM_WithDataSource_Call) Run ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) Run(run func(_a0 sqlutil.DataSource)) *ORM_WithDataSource_Call
func (*ORM_WithDataSource_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) RunAndReturn(run func(sqlutil.DataSource) bridges.ORM) *ORM_WithDataSource_Call