Documentation ¶
Index ¶
- type AuditLogger
- type AuditLogger_Expecter
- type AuditLogger_Log_Call
- type ProviderService
- type ProviderService_Expecter
- type ProviderService_ImportActivities_Call
- type Repository
- func (_m *Repository) BulkUpsert(_a0 context.Context, _a1 []*domain.Activity) error
- func (_m *Repository) EXPECT() *Repository_Expecter
- func (_m *Repository) Find(_a0 context.Context, _a1 domain.ListProviderActivitiesFilter) ([]*domain.Activity, error)
- func (_m *Repository) GetOne(_a0 context.Context, _a1 string) (*domain.Activity, error)
- type Repository_BulkUpsert_Call
- type Repository_Expecter
- type Repository_Find_Call
- type Repository_GetOne_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogger ¶
AuditLogger is an autogenerated mock type for the auditLogger type
func (*AuditLogger) EXPECT ¶
func (_m *AuditLogger) EXPECT() *AuditLogger_Expecter
type AuditLogger_Expecter ¶
type AuditLogger_Expecter struct {
// contains filtered or unexported fields
}
func (*AuditLogger_Expecter) Log ¶
func (_e *AuditLogger_Expecter) Log(ctx interface{}, action interface{}, data interface{}) *AuditLogger_Log_Call
Log is a helper method to define mock.On call
- ctx context.Context
- action string
- data interface{}
type AuditLogger_Log_Call ¶
AuditLogger_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*AuditLogger_Log_Call) Return ¶
func (_c *AuditLogger_Log_Call) Return(_a0 error) *AuditLogger_Log_Call
func (*AuditLogger_Log_Call) Run ¶
func (_c *AuditLogger_Log_Call) Run(run func(ctx context.Context, action string, data interface{})) *AuditLogger_Log_Call
type ProviderService ¶
ProviderService is an autogenerated mock type for the providerService type
func (*ProviderService) EXPECT ¶
func (_m *ProviderService) EXPECT() *ProviderService_Expecter
func (*ProviderService) ImportActivities ¶
func (_m *ProviderService) ImportActivities(_a0 context.Context, _a1 domain.ImportActivitiesFilter) ([]*domain.Activity, error)
ImportActivities provides a mock function with given fields: _a0, _a1
type ProviderService_Expecter ¶
type ProviderService_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderService_Expecter) ImportActivities ¶
func (_e *ProviderService_Expecter) ImportActivities(_a0 interface{}, _a1 interface{}) *ProviderService_ImportActivities_Call
ImportActivities is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.ImportActivitiesFilter
type ProviderService_ImportActivities_Call ¶
ProviderService_ImportActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImportActivities'
func (*ProviderService_ImportActivities_Call) Return ¶
func (_c *ProviderService_ImportActivities_Call) Return(_a0 []*domain.Activity, _a1 error) *ProviderService_ImportActivities_Call
func (*ProviderService_ImportActivities_Call) Run ¶
func (_c *ProviderService_ImportActivities_Call) Run(run func(_a0 context.Context, _a1 domain.ImportActivitiesFilter)) *ProviderService_ImportActivities_Call
type Repository ¶
Repository is an autogenerated mock type for the repository type
func (*Repository) BulkUpsert ¶
BulkUpsert provides a mock function with given fields: _a0, _a1
func (*Repository) EXPECT ¶
func (_m *Repository) EXPECT() *Repository_Expecter
func (*Repository) Find ¶
func (_m *Repository) Find(_a0 context.Context, _a1 domain.ListProviderActivitiesFilter) ([]*domain.Activity, error)
Find provides a mock function with given fields: _a0, _a1
type Repository_BulkUpsert_Call ¶
Repository_BulkUpsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkUpsert'
func (*Repository_BulkUpsert_Call) Return ¶
func (_c *Repository_BulkUpsert_Call) Return(_a0 error) *Repository_BulkUpsert_Call
func (*Repository_BulkUpsert_Call) Run ¶
func (_c *Repository_BulkUpsert_Call) Run(run func(_a0 context.Context, _a1 []*domain.Activity)) *Repository_BulkUpsert_Call
type Repository_Expecter ¶
type Repository_Expecter struct {
// contains filtered or unexported fields
}
func (*Repository_Expecter) BulkUpsert ¶
func (_e *Repository_Expecter) BulkUpsert(_a0 interface{}, _a1 interface{}) *Repository_BulkUpsert_Call
BulkUpsert is a helper method to define mock.On call
- _a0 context.Context
- _a1 []*domain.Activity
func (*Repository_Expecter) Find ¶
func (_e *Repository_Expecter) Find(_a0 interface{}, _a1 interface{}) *Repository_Find_Call
Find is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.ListProviderActivitiesFilter
func (*Repository_Expecter) GetOne ¶
func (_e *Repository_Expecter) GetOne(_a0 interface{}, _a1 interface{}) *Repository_GetOne_Call
GetOne is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
type Repository_Find_Call ¶
Repository_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*Repository_Find_Call) Return ¶
func (_c *Repository_Find_Call) Return(_a0 []*domain.Activity, _a1 error) *Repository_Find_Call
func (*Repository_Find_Call) Run ¶
func (_c *Repository_Find_Call) Run(run func(_a0 context.Context, _a1 domain.ListProviderActivitiesFilter)) *Repository_Find_Call
type Repository_GetOne_Call ¶
Repository_GetOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOne'
func (*Repository_GetOne_Call) Return ¶
func (_c *Repository_GetOne_Call) Return(_a0 *domain.Activity, _a1 error) *Repository_GetOne_Call
func (*Repository_GetOne_Call) Run ¶
func (_c *Repository_GetOne_Call) Run(run func(_a0 context.Context, _a1 string)) *Repository_GetOne_Call