Documentation ¶
Index ¶
- type IncomingQueryHandlers
- type OutgoingEvents
- func (_m *OutgoingEvents) EventCredentialAddError(_a0 service.CredentialCreateResponse)
- func (_m *OutgoingEvents) EventCredentialAdded(_a0 service.CredentialCreateResponse)
- func (_m *OutgoingEvents) EventCredentialDeleteError(_a0 service.CredentialDeleteResponse)
- func (_m *OutgoingEvents) EventCredentialDeleted(_a0 service.CredentialDeleteResponse)
- func (_m *OutgoingEvents) EventCredentialUpdateError(_a0 service.CredentialUpdateResponse)
- func (_m *OutgoingEvents) EventCredentialUpdated(_a0 service.CredentialUpdateResponse)
- type PersistentStoragePort
- func (_m *PersistentStoragePort) Create(d service.CredentialModel) error
- func (_m *PersistentStoragePort) Delete(d service.CredentialModel) error
- func (_m *PersistentStoragePort) Get(d service.CredentialModel) (service.CredentialModel, error)
- func (_m *PersistentStoragePort) GetAndDelete(d service.CredentialModel) (*service.CredentialModel, error)
- func (_m *PersistentStoragePort) Init(c types.Config) error
- func (_m *PersistentStoragePort) List(d types.ListQueryData) ([]service.CredentialModel, error)
- func (_m *PersistentStoragePort) Update(credUpdate types.CredUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncomingQueryHandlers ¶
IncomingQueryHandlers is an autogenerated mock type for the IncomingQueryHandlers type
func NewIncomingQueryHandlers ¶
func NewIncomingQueryHandlers(t mockConstructorTestingTNewIncomingQueryHandlers) *IncomingQueryHandlers
NewIncomingQueryHandlers creates a new instance of IncomingQueryHandlers. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IncomingQueryHandlers) CredentialsGet ¶
func (_m *IncomingQueryHandlers) CredentialsGet(_a0 context.Context, _a1 service.CredentialGetRequest) service.CredentialGetReply
CredentialsGet provides a mock function with given fields: _a0, _a1
func (*IncomingQueryHandlers) CredentialsList ¶
func (_m *IncomingQueryHandlers) CredentialsList(_a0 context.Context, _a1 service.CredentialListRequest) service.CredentialListReply
CredentialsList provides a mock function with given fields: _a0, _a1
type OutgoingEvents ¶
OutgoingEvents is an autogenerated mock type for the OutgoingEvents type
func NewOutgoingEvents ¶
func NewOutgoingEvents(t mockConstructorTestingTNewOutgoingEvents) *OutgoingEvents
NewOutgoingEvents creates a new instance of OutgoingEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*OutgoingEvents) EventCredentialAddError ¶
func (_m *OutgoingEvents) EventCredentialAddError(_a0 service.CredentialCreateResponse)
EventCredentialAddError provides a mock function with given fields: _a0
func (*OutgoingEvents) EventCredentialAdded ¶
func (_m *OutgoingEvents) EventCredentialAdded(_a0 service.CredentialCreateResponse)
EventCredentialAdded provides a mock function with given fields: _a0
func (*OutgoingEvents) EventCredentialDeleteError ¶
func (_m *OutgoingEvents) EventCredentialDeleteError(_a0 service.CredentialDeleteResponse)
EventCredentialDeleteError provides a mock function with given fields: _a0
func (*OutgoingEvents) EventCredentialDeleted ¶
func (_m *OutgoingEvents) EventCredentialDeleted(_a0 service.CredentialDeleteResponse)
EventCredentialDeleted provides a mock function with given fields: _a0
func (*OutgoingEvents) EventCredentialUpdateError ¶
func (_m *OutgoingEvents) EventCredentialUpdateError(_a0 service.CredentialUpdateResponse)
EventCredentialUpdateError provides a mock function with given fields: _a0
func (*OutgoingEvents) EventCredentialUpdated ¶
func (_m *OutgoingEvents) EventCredentialUpdated(_a0 service.CredentialUpdateResponse)
EventCredentialUpdated provides a mock function with given fields: _a0
type PersistentStoragePort ¶
PersistentStoragePort is an autogenerated mock type for the PersistentStoragePort type
func NewPersistentStoragePort ¶
func NewPersistentStoragePort(t interface { mock.TestingT Cleanup(func()) }) *PersistentStoragePort
NewPersistentStoragePort creates a new instance of PersistentStoragePort. 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 (*PersistentStoragePort) Create ¶
func (_m *PersistentStoragePort) Create(d service.CredentialModel) error
Create provides a mock function with given fields: d
func (*PersistentStoragePort) Delete ¶
func (_m *PersistentStoragePort) Delete(d service.CredentialModel) error
Delete provides a mock function with given fields: d
func (*PersistentStoragePort) Get ¶
func (_m *PersistentStoragePort) Get(d service.CredentialModel) (service.CredentialModel, error)
Get provides a mock function with given fields: d
func (*PersistentStoragePort) GetAndDelete ¶
func (_m *PersistentStoragePort) GetAndDelete(d service.CredentialModel) (*service.CredentialModel, error)
GetAndDelete provides a mock function with given fields: d
func (*PersistentStoragePort) Init ¶
func (_m *PersistentStoragePort) Init(c types.Config) error
Init provides a mock function with given fields: c
func (*PersistentStoragePort) List ¶
func (_m *PersistentStoragePort) List(d types.ListQueryData) ([]service.CredentialModel, error)
List provides a mock function with given fields: d
func (*PersistentStoragePort) Update ¶
func (_m *PersistentStoragePort) Update(credUpdate types.CredUpdate) error
Update provides a mock function with given fields: credUpdate