Documentation ¶
Index ¶
- type LogService
- type LogService_Expecter
- type LogService_ListSubscriptionIDsBySilenceID_Call
- func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) Return(_a0 []int64, _a1 error) *LogService_ListSubscriptionIDsBySilenceID_Call
- func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) Run(run func(ctx context.Context, silenceID string)) *LogService_ListSubscriptionIDsBySilenceID_Call
- func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) RunAndReturn(run func(context.Context, string) ([]int64, error)) *LogService_ListSubscriptionIDsBySilenceID_Call
- type NamespaceService
- func (_m *NamespaceService) Create(_a0 context.Context, _a1 *namespace.Namespace) error
- func (_m *NamespaceService) Delete(_a0 context.Context, _a1 uint64) error
- func (_m *NamespaceService) EXPECT() *NamespaceService_Expecter
- func (_m *NamespaceService) Get(_a0 context.Context, _a1 uint64) (*namespace.Namespace, error)
- func (_m *NamespaceService) List(_a0 context.Context) ([]namespace.Namespace, error)
- func (_m *NamespaceService) Update(_a0 context.Context, _a1 *namespace.Namespace) error
- type NamespaceService_Create_Call
- func (_c *NamespaceService_Create_Call) Return(_a0 error) *NamespaceService_Create_Call
- func (_c *NamespaceService_Create_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceService_Create_Call
- func (_c *NamespaceService_Create_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceService_Create_Call
- type NamespaceService_Delete_Call
- func (_c *NamespaceService_Delete_Call) Return(_a0 error) *NamespaceService_Delete_Call
- func (_c *NamespaceService_Delete_Call) Run(run func(_a0 context.Context, _a1 uint64)) *NamespaceService_Delete_Call
- func (_c *NamespaceService_Delete_Call) RunAndReturn(run func(context.Context, uint64) error) *NamespaceService_Delete_Call
- type NamespaceService_Expecter
- func (_e *NamespaceService_Expecter) Create(_a0 interface{}, _a1 interface{}) *NamespaceService_Create_Call
- func (_e *NamespaceService_Expecter) Delete(_a0 interface{}, _a1 interface{}) *NamespaceService_Delete_Call
- func (_e *NamespaceService_Expecter) Get(_a0 interface{}, _a1 interface{}) *NamespaceService_Get_Call
- func (_e *NamespaceService_Expecter) List(_a0 interface{}) *NamespaceService_List_Call
- func (_e *NamespaceService_Expecter) Update(_a0 interface{}, _a1 interface{}) *NamespaceService_Update_Call
- type NamespaceService_Get_Call
- func (_c *NamespaceService_Get_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceService_Get_Call
- func (_c *NamespaceService_Get_Call) Run(run func(_a0 context.Context, _a1 uint64)) *NamespaceService_Get_Call
- func (_c *NamespaceService_Get_Call) RunAndReturn(run func(context.Context, uint64) (*namespace.Namespace, error)) *NamespaceService_Get_Call
- type NamespaceService_List_Call
- func (_c *NamespaceService_List_Call) Return(_a0 []namespace.Namespace, _a1 error) *NamespaceService_List_Call
- func (_c *NamespaceService_List_Call) Run(run func(_a0 context.Context)) *NamespaceService_List_Call
- func (_c *NamespaceService_List_Call) RunAndReturn(run func(context.Context) ([]namespace.Namespace, error)) *NamespaceService_List_Call
- type NamespaceService_Update_Call
- func (_c *NamespaceService_Update_Call) Return(_a0 error) *NamespaceService_Update_Call
- func (_c *NamespaceService_Update_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceService_Update_Call
- func (_c *NamespaceService_Update_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceService_Update_Call
- type ReceiverService
- type ReceiverService_Expecter
- type ReceiverService_List_Call
- func (_c *ReceiverService_List_Call) Return(_a0 []receiver.Receiver, _a1 error) *ReceiverService_List_Call
- func (_c *ReceiverService_List_Call) Run(run func(ctx context.Context, flt receiver.Filter)) *ReceiverService_List_Call
- func (_c *ReceiverService_List_Call) RunAndReturn(run func(context.Context, receiver.Filter) ([]receiver.Receiver, error)) *ReceiverService_List_Call
- type SubscriptionRepository
- func (_m *SubscriptionRepository) Create(_a0 context.Context, _a1 *subscription.Subscription) error
- func (_m *SubscriptionRepository) Delete(_a0 context.Context, _a1 uint64) error
- func (_m *SubscriptionRepository) EXPECT() *SubscriptionRepository_Expecter
- func (_m *SubscriptionRepository) Get(_a0 context.Context, _a1 uint64) (*subscription.Subscription, error)
- func (_m *SubscriptionRepository) List(_a0 context.Context, _a1 subscription.Filter) ([]subscription.Subscription, error)
- func (_m *SubscriptionRepository) Update(_a0 context.Context, _a1 *subscription.Subscription) error
- type SubscriptionRepository_Create_Call
- func (_c *SubscriptionRepository_Create_Call) Return(_a0 error) *SubscriptionRepository_Create_Call
- func (_c *SubscriptionRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *subscription.Subscription)) *SubscriptionRepository_Create_Call
- func (_c *SubscriptionRepository_Create_Call) RunAndReturn(run func(context.Context, *subscription.Subscription) error) *SubscriptionRepository_Create_Call
- type SubscriptionRepository_Delete_Call
- func (_c *SubscriptionRepository_Delete_Call) Return(_a0 error) *SubscriptionRepository_Delete_Call
- func (_c *SubscriptionRepository_Delete_Call) Run(run func(_a0 context.Context, _a1 uint64)) *SubscriptionRepository_Delete_Call
- func (_c *SubscriptionRepository_Delete_Call) RunAndReturn(run func(context.Context, uint64) error) *SubscriptionRepository_Delete_Call
- type SubscriptionRepository_Expecter
- func (_e *SubscriptionRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Create_Call
- func (_e *SubscriptionRepository_Expecter) Delete(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Delete_Call
- func (_e *SubscriptionRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Get_Call
- func (_e *SubscriptionRepository_Expecter) List(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_List_Call
- func (_e *SubscriptionRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Update_Call
- type SubscriptionRepository_Get_Call
- func (_c *SubscriptionRepository_Get_Call) Return(_a0 *subscription.Subscription, _a1 error) *SubscriptionRepository_Get_Call
- func (_c *SubscriptionRepository_Get_Call) Run(run func(_a0 context.Context, _a1 uint64)) *SubscriptionRepository_Get_Call
- func (_c *SubscriptionRepository_Get_Call) RunAndReturn(run func(context.Context, uint64) (*subscription.Subscription, error)) *SubscriptionRepository_Get_Call
- type SubscriptionRepository_List_Call
- func (_c *SubscriptionRepository_List_Call) Return(_a0 []subscription.Subscription, _a1 error) *SubscriptionRepository_List_Call
- func (_c *SubscriptionRepository_List_Call) Run(run func(_a0 context.Context, _a1 subscription.Filter)) *SubscriptionRepository_List_Call
- func (_c *SubscriptionRepository_List_Call) RunAndReturn(...) *SubscriptionRepository_List_Call
- type SubscriptionRepository_Update_Call
- func (_c *SubscriptionRepository_Update_Call) Return(_a0 error) *SubscriptionRepository_Update_Call
- func (_c *SubscriptionRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *subscription.Subscription)) *SubscriptionRepository_Update_Call
- func (_c *SubscriptionRepository_Update_Call) RunAndReturn(run func(context.Context, *subscription.Subscription) error) *SubscriptionRepository_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
LogService is an autogenerated mock type for the LogService type
func NewLogService ¶
func NewLogService(t interface { mock.TestingT Cleanup(func()) }) *LogService
NewLogService creates a new instance of LogService. 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 (*LogService) EXPECT ¶
func (_m *LogService) EXPECT() *LogService_Expecter
func (*LogService) ListSubscriptionIDsBySilenceID ¶
func (_m *LogService) ListSubscriptionIDsBySilenceID(ctx context.Context, silenceID string) ([]int64, error)
ListSubscriptionIDsBySilenceID provides a mock function with given fields: ctx, silenceID
type LogService_Expecter ¶
type LogService_Expecter struct {
// contains filtered or unexported fields
}
func (*LogService_Expecter) ListSubscriptionIDsBySilenceID ¶
func (_e *LogService_Expecter) ListSubscriptionIDsBySilenceID(ctx interface{}, silenceID interface{}) *LogService_ListSubscriptionIDsBySilenceID_Call
ListSubscriptionIDsBySilenceID is a helper method to define mock.On call
- ctx context.Context
- silenceID string
type LogService_ListSubscriptionIDsBySilenceID_Call ¶
LogService_ListSubscriptionIDsBySilenceID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubscriptionIDsBySilenceID'
func (*LogService_ListSubscriptionIDsBySilenceID_Call) Return ¶
func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) Return(_a0 []int64, _a1 error) *LogService_ListSubscriptionIDsBySilenceID_Call
func (*LogService_ListSubscriptionIDsBySilenceID_Call) Run ¶
func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) Run(run func(ctx context.Context, silenceID string)) *LogService_ListSubscriptionIDsBySilenceID_Call
func (*LogService_ListSubscriptionIDsBySilenceID_Call) RunAndReturn ¶ added in v0.6.1
func (_c *LogService_ListSubscriptionIDsBySilenceID_Call) RunAndReturn(run func(context.Context, string) ([]int64, error)) *LogService_ListSubscriptionIDsBySilenceID_Call
type NamespaceService ¶
NamespaceService is an autogenerated mock type for the NamespaceService type
func NewNamespaceService ¶
func NewNamespaceService(t interface { mock.TestingT Cleanup(func()) }) *NamespaceService
NewNamespaceService creates a new instance of NamespaceService. 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 (*NamespaceService) Delete ¶
func (_m *NamespaceService) Delete(_a0 context.Context, _a1 uint64) error
Delete provides a mock function with given fields: _a0, _a1
func (*NamespaceService) EXPECT ¶
func (_m *NamespaceService) EXPECT() *NamespaceService_Expecter
type NamespaceService_Create_Call ¶
NamespaceService_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*NamespaceService_Create_Call) Return ¶
func (_c *NamespaceService_Create_Call) Return(_a0 error) *NamespaceService_Create_Call
func (*NamespaceService_Create_Call) Run ¶
func (_c *NamespaceService_Create_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceService_Create_Call
func (*NamespaceService_Create_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NamespaceService_Create_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceService_Create_Call
type NamespaceService_Delete_Call ¶
NamespaceService_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*NamespaceService_Delete_Call) Return ¶
func (_c *NamespaceService_Delete_Call) Return(_a0 error) *NamespaceService_Delete_Call
func (*NamespaceService_Delete_Call) Run ¶
func (_c *NamespaceService_Delete_Call) Run(run func(_a0 context.Context, _a1 uint64)) *NamespaceService_Delete_Call
func (*NamespaceService_Delete_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NamespaceService_Delete_Call) RunAndReturn(run func(context.Context, uint64) error) *NamespaceService_Delete_Call
type NamespaceService_Expecter ¶
type NamespaceService_Expecter struct {
// contains filtered or unexported fields
}
func (*NamespaceService_Expecter) Create ¶
func (_e *NamespaceService_Expecter) Create(_a0 interface{}, _a1 interface{}) *NamespaceService_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *namespace.Namespace
func (*NamespaceService_Expecter) Delete ¶
func (_e *NamespaceService_Expecter) Delete(_a0 interface{}, _a1 interface{}) *NamespaceService_Delete_Call
Delete is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint64
func (*NamespaceService_Expecter) Get ¶
func (_e *NamespaceService_Expecter) Get(_a0 interface{}, _a1 interface{}) *NamespaceService_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint64
func (*NamespaceService_Expecter) List ¶
func (_e *NamespaceService_Expecter) List(_a0 interface{}) *NamespaceService_List_Call
List is a helper method to define mock.On call
- _a0 context.Context
func (*NamespaceService_Expecter) Update ¶
func (_e *NamespaceService_Expecter) Update(_a0 interface{}, _a1 interface{}) *NamespaceService_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *namespace.Namespace
type NamespaceService_Get_Call ¶
NamespaceService_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*NamespaceService_Get_Call) Return ¶
func (_c *NamespaceService_Get_Call) Return(_a0 *namespace.Namespace, _a1 error) *NamespaceService_Get_Call
func (*NamespaceService_Get_Call) Run ¶
func (_c *NamespaceService_Get_Call) Run(run func(_a0 context.Context, _a1 uint64)) *NamespaceService_Get_Call
func (*NamespaceService_Get_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NamespaceService_Get_Call) RunAndReturn(run func(context.Context, uint64) (*namespace.Namespace, error)) *NamespaceService_Get_Call
type NamespaceService_List_Call ¶
NamespaceService_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*NamespaceService_List_Call) Return ¶
func (_c *NamespaceService_List_Call) Return(_a0 []namespace.Namespace, _a1 error) *NamespaceService_List_Call
func (*NamespaceService_List_Call) Run ¶
func (_c *NamespaceService_List_Call) Run(run func(_a0 context.Context)) *NamespaceService_List_Call
func (*NamespaceService_List_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NamespaceService_List_Call) RunAndReturn(run func(context.Context) ([]namespace.Namespace, error)) *NamespaceService_List_Call
type NamespaceService_Update_Call ¶
NamespaceService_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*NamespaceService_Update_Call) Return ¶
func (_c *NamespaceService_Update_Call) Return(_a0 error) *NamespaceService_Update_Call
func (*NamespaceService_Update_Call) Run ¶
func (_c *NamespaceService_Update_Call) Run(run func(_a0 context.Context, _a1 *namespace.Namespace)) *NamespaceService_Update_Call
func (*NamespaceService_Update_Call) RunAndReturn ¶ added in v0.6.1
func (_c *NamespaceService_Update_Call) RunAndReturn(run func(context.Context, *namespace.Namespace) error) *NamespaceService_Update_Call
type ReceiverService ¶
ReceiverService is an autogenerated mock type for the ReceiverService type
func NewReceiverService ¶
func NewReceiverService(t interface { mock.TestingT Cleanup(func()) }) *ReceiverService
NewReceiverService creates a new instance of ReceiverService. 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 (*ReceiverService) EXPECT ¶
func (_m *ReceiverService) EXPECT() *ReceiverService_Expecter
type ReceiverService_Expecter ¶
type ReceiverService_Expecter struct {
// contains filtered or unexported fields
}
func (*ReceiverService_Expecter) List ¶
func (_e *ReceiverService_Expecter) List(ctx interface{}, flt interface{}) *ReceiverService_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- flt receiver.Filter
type ReceiverService_List_Call ¶
ReceiverService_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ReceiverService_List_Call) Return ¶
func (_c *ReceiverService_List_Call) Return(_a0 []receiver.Receiver, _a1 error) *ReceiverService_List_Call
func (*ReceiverService_List_Call) Run ¶
func (_c *ReceiverService_List_Call) Run(run func(ctx context.Context, flt receiver.Filter)) *ReceiverService_List_Call
func (*ReceiverService_List_Call) RunAndReturn ¶ added in v0.6.1
func (_c *ReceiverService_List_Call) RunAndReturn(run func(context.Context, receiver.Filter) ([]receiver.Receiver, error)) *ReceiverService_List_Call
type SubscriptionRepository ¶
SubscriptionRepository is an autogenerated mock type for the Repository type
func NewSubscriptionRepository ¶
func NewSubscriptionRepository(t interface { mock.TestingT Cleanup(func()) }) *SubscriptionRepository
NewSubscriptionRepository creates a new instance of SubscriptionRepository. 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 (*SubscriptionRepository) Create ¶
func (_m *SubscriptionRepository) Create(_a0 context.Context, _a1 *subscription.Subscription) error
Create provides a mock function with given fields: _a0, _a1
func (*SubscriptionRepository) Delete ¶
func (_m *SubscriptionRepository) Delete(_a0 context.Context, _a1 uint64) error
Delete provides a mock function with given fields: _a0, _a1
func (*SubscriptionRepository) EXPECT ¶
func (_m *SubscriptionRepository) EXPECT() *SubscriptionRepository_Expecter
func (*SubscriptionRepository) Get ¶
func (_m *SubscriptionRepository) Get(_a0 context.Context, _a1 uint64) (*subscription.Subscription, error)
Get provides a mock function with given fields: _a0, _a1
func (*SubscriptionRepository) List ¶
func (_m *SubscriptionRepository) List(_a0 context.Context, _a1 subscription.Filter) ([]subscription.Subscription, error)
List provides a mock function with given fields: _a0, _a1
func (*SubscriptionRepository) Update ¶
func (_m *SubscriptionRepository) Update(_a0 context.Context, _a1 *subscription.Subscription) error
Update provides a mock function with given fields: _a0, _a1
type SubscriptionRepository_Create_Call ¶
SubscriptionRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*SubscriptionRepository_Create_Call) Return ¶
func (_c *SubscriptionRepository_Create_Call) Return(_a0 error) *SubscriptionRepository_Create_Call
func (*SubscriptionRepository_Create_Call) Run ¶
func (_c *SubscriptionRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *subscription.Subscription)) *SubscriptionRepository_Create_Call
func (*SubscriptionRepository_Create_Call) RunAndReturn ¶ added in v0.6.1
func (_c *SubscriptionRepository_Create_Call) RunAndReturn(run func(context.Context, *subscription.Subscription) error) *SubscriptionRepository_Create_Call
type SubscriptionRepository_Delete_Call ¶
SubscriptionRepository_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*SubscriptionRepository_Delete_Call) Return ¶
func (_c *SubscriptionRepository_Delete_Call) Return(_a0 error) *SubscriptionRepository_Delete_Call
func (*SubscriptionRepository_Delete_Call) Run ¶
func (_c *SubscriptionRepository_Delete_Call) Run(run func(_a0 context.Context, _a1 uint64)) *SubscriptionRepository_Delete_Call
func (*SubscriptionRepository_Delete_Call) RunAndReturn ¶ added in v0.6.1
func (_c *SubscriptionRepository_Delete_Call) RunAndReturn(run func(context.Context, uint64) error) *SubscriptionRepository_Delete_Call
type SubscriptionRepository_Expecter ¶
type SubscriptionRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*SubscriptionRepository_Expecter) Create ¶
func (_e *SubscriptionRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *subscription.Subscription
func (*SubscriptionRepository_Expecter) Delete ¶
func (_e *SubscriptionRepository_Expecter) Delete(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Delete_Call
Delete is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint64
func (*SubscriptionRepository_Expecter) Get ¶
func (_e *SubscriptionRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint64
func (*SubscriptionRepository_Expecter) List ¶
func (_e *SubscriptionRepository_Expecter) List(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_List_Call
List is a helper method to define mock.On call
- _a0 context.Context
- _a1 subscription.Filter
func (*SubscriptionRepository_Expecter) Update ¶
func (_e *SubscriptionRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *SubscriptionRepository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *subscription.Subscription
type SubscriptionRepository_Get_Call ¶
SubscriptionRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*SubscriptionRepository_Get_Call) Return ¶
func (_c *SubscriptionRepository_Get_Call) Return(_a0 *subscription.Subscription, _a1 error) *SubscriptionRepository_Get_Call
func (*SubscriptionRepository_Get_Call) Run ¶
func (_c *SubscriptionRepository_Get_Call) Run(run func(_a0 context.Context, _a1 uint64)) *SubscriptionRepository_Get_Call
func (*SubscriptionRepository_Get_Call) RunAndReturn ¶ added in v0.6.1
func (_c *SubscriptionRepository_Get_Call) RunAndReturn(run func(context.Context, uint64) (*subscription.Subscription, error)) *SubscriptionRepository_Get_Call
type SubscriptionRepository_List_Call ¶
SubscriptionRepository_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*SubscriptionRepository_List_Call) Return ¶
func (_c *SubscriptionRepository_List_Call) Return(_a0 []subscription.Subscription, _a1 error) *SubscriptionRepository_List_Call
func (*SubscriptionRepository_List_Call) Run ¶
func (_c *SubscriptionRepository_List_Call) Run(run func(_a0 context.Context, _a1 subscription.Filter)) *SubscriptionRepository_List_Call
func (*SubscriptionRepository_List_Call) RunAndReturn ¶ added in v0.6.1
func (_c *SubscriptionRepository_List_Call) RunAndReturn(run func(context.Context, subscription.Filter) ([]subscription.Subscription, error)) *SubscriptionRepository_List_Call
type SubscriptionRepository_Update_Call ¶
SubscriptionRepository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SubscriptionRepository_Update_Call) Return ¶
func (_c *SubscriptionRepository_Update_Call) Return(_a0 error) *SubscriptionRepository_Update_Call
func (*SubscriptionRepository_Update_Call) Run ¶
func (_c *SubscriptionRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *subscription.Subscription)) *SubscriptionRepository_Update_Call
func (*SubscriptionRepository_Update_Call) RunAndReturn ¶ added in v0.6.1
func (_c *SubscriptionRepository_Update_Call) RunAndReturn(run func(context.Context, *subscription.Subscription) error) *SubscriptionRepository_Update_Call