Documentation ¶
Index ¶
- type RemoteAlertmanagerMock
- func (_m *RemoteAlertmanagerMock) ApplyConfig(_a0 context.Context, _a1 *models.AlertConfiguration) error
- func (_m *RemoteAlertmanagerMock) CompareAndSendConfiguration(_a0 context.Context, _a1 *models.AlertConfiguration) error
- func (_m *RemoteAlertmanagerMock) CompareAndSendState(_a0 context.Context) error
- func (_m *RemoteAlertmanagerMock) CreateSilence(_a0 context.Context, _a1 *v2models.PostableSilence) (string, error)
- func (_m *RemoteAlertmanagerMock) DeleteSilence(_a0 context.Context, _a1 string) error
- func (_m *RemoteAlertmanagerMock) EXPECT() *RemoteAlertmanagerMock_Expecter
- func (_m *RemoteAlertmanagerMock) GetAlertGroups(ctx context.Context, active bool, silenced bool, inhibited bool, ...) (v2models.AlertGroups, error)
- func (_m *RemoteAlertmanagerMock) GetAlerts(ctx context.Context, active bool, silenced bool, inhibited bool, ...) (v2models.GettableAlerts, error)
- func (_m *RemoteAlertmanagerMock) GetReceivers(ctx context.Context) ([]v2models.Receiver, error)
- func (_m *RemoteAlertmanagerMock) GetSilence(_a0 context.Context, _a1 string) (v2models.GettableSilence, error)
- func (_m *RemoteAlertmanagerMock) GetStatus(_a0 context.Context) (definitions.GettableStatus, error)
- func (_m *RemoteAlertmanagerMock) ListSilences(_a0 context.Context, _a1 []string) (v2models.GettableSilences, error)
- func (_m *RemoteAlertmanagerMock) PutAlerts(_a0 context.Context, _a1 definitions.PostableAlerts) error
- func (_m *RemoteAlertmanagerMock) Ready() bool
- func (_m *RemoteAlertmanagerMock) SaveAndApplyConfig(ctx context.Context, config *definitions.PostableUserConfig) error
- func (_m *RemoteAlertmanagerMock) SaveAndApplyDefaultConfig(ctx context.Context) error
- func (_m *RemoteAlertmanagerMock) SilenceState(_a0 context.Context) (notify.SilenceState, error)
- func (_m *RemoteAlertmanagerMock) StopAndWait()
- func (_m *RemoteAlertmanagerMock) TestReceivers(ctx context.Context, c definitions.TestReceiversConfigBodyParams) (*notifier.TestReceiversResult, error)
- func (_m *RemoteAlertmanagerMock) TestTemplate(ctx context.Context, c definitions.TestTemplatesConfigBodyParams) (*notify.TestTemplatesResults, error)
- type RemoteAlertmanagerMock_ApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) Return(_a0 error) *RemoteAlertmanagerMock_ApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) Run(run func(_a0 context.Context, _a1 *models.AlertConfiguration)) *RemoteAlertmanagerMock_ApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) RunAndReturn(run func(context.Context, *models.AlertConfiguration) error) *RemoteAlertmanagerMock_ApplyConfig_Call
- type RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) Return(_a0 error) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) Run(run func(_a0 context.Context, _a1 *models.AlertConfiguration)) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) RunAndReturn(run func(context.Context, *models.AlertConfiguration) error) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
- type RemoteAlertmanagerMock_CompareAndSendState_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) Return(_a0 error) *RemoteAlertmanagerMock_CompareAndSendState_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_CompareAndSendState_Call
- func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) RunAndReturn(run func(context.Context) error) *RemoteAlertmanagerMock_CompareAndSendState_Call
- type RemoteAlertmanagerMock_CreateSilence_Call
- func (_c *RemoteAlertmanagerMock_CreateSilence_Call) Return(_a0 string, _a1 error) *RemoteAlertmanagerMock_CreateSilence_Call
- func (_c *RemoteAlertmanagerMock_CreateSilence_Call) Run(run func(_a0 context.Context, _a1 *v2models.PostableSilence)) *RemoteAlertmanagerMock_CreateSilence_Call
- func (_c *RemoteAlertmanagerMock_CreateSilence_Call) RunAndReturn(run func(context.Context, *v2models.PostableSilence) (string, error)) *RemoteAlertmanagerMock_CreateSilence_Call
- type RemoteAlertmanagerMock_DeleteSilence_Call
- func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) Return(_a0 error) *RemoteAlertmanagerMock_DeleteSilence_Call
- func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) Run(run func(_a0 context.Context, _a1 string)) *RemoteAlertmanagerMock_DeleteSilence_Call
- func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) RunAndReturn(run func(context.Context, string) error) *RemoteAlertmanagerMock_DeleteSilence_Call
- type RemoteAlertmanagerMock_Expecter
- func (_e *RemoteAlertmanagerMock_Expecter) ApplyConfig(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_ApplyConfig_Call
- func (_e *RemoteAlertmanagerMock_Expecter) CompareAndSendConfiguration(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
- func (_e *RemoteAlertmanagerMock_Expecter) CompareAndSendState(_a0 interface{}) *RemoteAlertmanagerMock_CompareAndSendState_Call
- func (_e *RemoteAlertmanagerMock_Expecter) CreateSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_CreateSilence_Call
- func (_e *RemoteAlertmanagerMock_Expecter) DeleteSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_DeleteSilence_Call
- func (_e *RemoteAlertmanagerMock_Expecter) GetAlertGroups(ctx interface{}, active interface{}, silenced interface{}, ...) *RemoteAlertmanagerMock_GetAlertGroups_Call
- func (_e *RemoteAlertmanagerMock_Expecter) GetAlerts(ctx interface{}, active interface{}, silenced interface{}, ...) *RemoteAlertmanagerMock_GetAlerts_Call
- func (_e *RemoteAlertmanagerMock_Expecter) GetReceivers(ctx interface{}) *RemoteAlertmanagerMock_GetReceivers_Call
- func (_e *RemoteAlertmanagerMock_Expecter) GetSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_GetSilence_Call
- func (_e *RemoteAlertmanagerMock_Expecter) GetStatus(_a0 interface{}) *RemoteAlertmanagerMock_GetStatus_Call
- func (_e *RemoteAlertmanagerMock_Expecter) ListSilences(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_ListSilences_Call
- func (_e *RemoteAlertmanagerMock_Expecter) PutAlerts(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_PutAlerts_Call
- func (_e *RemoteAlertmanagerMock_Expecter) Ready() *RemoteAlertmanagerMock_Ready_Call
- func (_e *RemoteAlertmanagerMock_Expecter) SaveAndApplyConfig(ctx interface{}, config interface{}) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
- func (_e *RemoteAlertmanagerMock_Expecter) SaveAndApplyDefaultConfig(ctx interface{}) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
- func (_e *RemoteAlertmanagerMock_Expecter) SilenceState(_a0 interface{}) *RemoteAlertmanagerMock_SilenceState_Call
- func (_e *RemoteAlertmanagerMock_Expecter) StopAndWait() *RemoteAlertmanagerMock_StopAndWait_Call
- func (_e *RemoteAlertmanagerMock_Expecter) TestReceivers(ctx interface{}, c interface{}) *RemoteAlertmanagerMock_TestReceivers_Call
- func (_e *RemoteAlertmanagerMock_Expecter) TestTemplate(ctx interface{}, c interface{}) *RemoteAlertmanagerMock_TestTemplate_Call
- type RemoteAlertmanagerMock_GetAlertGroups_Call
- func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) Return(_a0 v2models.AlertGroups, _a1 error) *RemoteAlertmanagerMock_GetAlertGroups_Call
- func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) Run(run func(ctx context.Context, active bool, silenced bool, inhibited bool, ...)) *RemoteAlertmanagerMock_GetAlertGroups_Call
- func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) RunAndReturn(...) *RemoteAlertmanagerMock_GetAlertGroups_Call
- type RemoteAlertmanagerMock_GetAlerts_Call
- func (_c *RemoteAlertmanagerMock_GetAlerts_Call) Return(_a0 v2models.GettableAlerts, _a1 error) *RemoteAlertmanagerMock_GetAlerts_Call
- func (_c *RemoteAlertmanagerMock_GetAlerts_Call) Run(run func(ctx context.Context, active bool, silenced bool, inhibited bool, ...)) *RemoteAlertmanagerMock_GetAlerts_Call
- func (_c *RemoteAlertmanagerMock_GetAlerts_Call) RunAndReturn(...) *RemoteAlertmanagerMock_GetAlerts_Call
- type RemoteAlertmanagerMock_GetReceivers_Call
- func (_c *RemoteAlertmanagerMock_GetReceivers_Call) Return(_a0 []v2models.Receiver, _a1 error) *RemoteAlertmanagerMock_GetReceivers_Call
- func (_c *RemoteAlertmanagerMock_GetReceivers_Call) Run(run func(ctx context.Context)) *RemoteAlertmanagerMock_GetReceivers_Call
- func (_c *RemoteAlertmanagerMock_GetReceivers_Call) RunAndReturn(run func(context.Context) ([]v2models.Receiver, error)) *RemoteAlertmanagerMock_GetReceivers_Call
- type RemoteAlertmanagerMock_GetSilence_Call
- func (_c *RemoteAlertmanagerMock_GetSilence_Call) Return(_a0 v2models.GettableSilence, _a1 error) *RemoteAlertmanagerMock_GetSilence_Call
- func (_c *RemoteAlertmanagerMock_GetSilence_Call) Run(run func(_a0 context.Context, _a1 string)) *RemoteAlertmanagerMock_GetSilence_Call
- func (_c *RemoteAlertmanagerMock_GetSilence_Call) RunAndReturn(run func(context.Context, string) (v2models.GettableSilence, error)) *RemoteAlertmanagerMock_GetSilence_Call
- type RemoteAlertmanagerMock_GetStatus_Call
- func (_c *RemoteAlertmanagerMock_GetStatus_Call) Return(_a0 definitions.GettableStatus, _a1 error) *RemoteAlertmanagerMock_GetStatus_Call
- func (_c *RemoteAlertmanagerMock_GetStatus_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_GetStatus_Call
- func (_c *RemoteAlertmanagerMock_GetStatus_Call) RunAndReturn(run func(context.Context) (definitions.GettableStatus, error)) *RemoteAlertmanagerMock_GetStatus_Call
- type RemoteAlertmanagerMock_ListSilences_Call
- func (_c *RemoteAlertmanagerMock_ListSilences_Call) Return(_a0 v2models.GettableSilences, _a1 error) *RemoteAlertmanagerMock_ListSilences_Call
- func (_c *RemoteAlertmanagerMock_ListSilences_Call) Run(run func(_a0 context.Context, _a1 []string)) *RemoteAlertmanagerMock_ListSilences_Call
- func (_c *RemoteAlertmanagerMock_ListSilences_Call) RunAndReturn(run func(context.Context, []string) (v2models.GettableSilences, error)) *RemoteAlertmanagerMock_ListSilences_Call
- type RemoteAlertmanagerMock_PutAlerts_Call
- func (_c *RemoteAlertmanagerMock_PutAlerts_Call) Return(_a0 error) *RemoteAlertmanagerMock_PutAlerts_Call
- func (_c *RemoteAlertmanagerMock_PutAlerts_Call) Run(run func(_a0 context.Context, _a1 definitions.PostableAlerts)) *RemoteAlertmanagerMock_PutAlerts_Call
- func (_c *RemoteAlertmanagerMock_PutAlerts_Call) RunAndReturn(run func(context.Context, definitions.PostableAlerts) error) *RemoteAlertmanagerMock_PutAlerts_Call
- type RemoteAlertmanagerMock_Ready_Call
- func (_c *RemoteAlertmanagerMock_Ready_Call) Return(_a0 bool) *RemoteAlertmanagerMock_Ready_Call
- func (_c *RemoteAlertmanagerMock_Ready_Call) Run(run func()) *RemoteAlertmanagerMock_Ready_Call
- func (_c *RemoteAlertmanagerMock_Ready_Call) RunAndReturn(run func() bool) *RemoteAlertmanagerMock_Ready_Call
- type RemoteAlertmanagerMock_SaveAndApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Return(_a0 error) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Run(run func(ctx context.Context, config *definitions.PostableUserConfig)) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) RunAndReturn(run func(context.Context, *definitions.PostableUserConfig) error) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
- type RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) Return(_a0 error) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) Run(run func(ctx context.Context)) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
- func (_c *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) RunAndReturn(run func(context.Context) error) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
- type RemoteAlertmanagerMock_SilenceState_Call
- func (_c *RemoteAlertmanagerMock_SilenceState_Call) Return(_a0 notify.SilenceState, _a1 error) *RemoteAlertmanagerMock_SilenceState_Call
- func (_c *RemoteAlertmanagerMock_SilenceState_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_SilenceState_Call
- func (_c *RemoteAlertmanagerMock_SilenceState_Call) RunAndReturn(run func(context.Context) (notify.SilenceState, error)) *RemoteAlertmanagerMock_SilenceState_Call
- type RemoteAlertmanagerMock_StopAndWait_Call
- func (_c *RemoteAlertmanagerMock_StopAndWait_Call) Return() *RemoteAlertmanagerMock_StopAndWait_Call
- func (_c *RemoteAlertmanagerMock_StopAndWait_Call) Run(run func()) *RemoteAlertmanagerMock_StopAndWait_Call
- func (_c *RemoteAlertmanagerMock_StopAndWait_Call) RunAndReturn(run func()) *RemoteAlertmanagerMock_StopAndWait_Call
- type RemoteAlertmanagerMock_TestReceivers_Call
- func (_c *RemoteAlertmanagerMock_TestReceivers_Call) Return(_a0 *notifier.TestReceiversResult, _a1 error) *RemoteAlertmanagerMock_TestReceivers_Call
- func (_c *RemoteAlertmanagerMock_TestReceivers_Call) Run(run func(ctx context.Context, c definitions.TestReceiversConfigBodyParams)) *RemoteAlertmanagerMock_TestReceivers_Call
- func (_c *RemoteAlertmanagerMock_TestReceivers_Call) RunAndReturn(...) *RemoteAlertmanagerMock_TestReceivers_Call
- type RemoteAlertmanagerMock_TestTemplate_Call
- func (_c *RemoteAlertmanagerMock_TestTemplate_Call) Return(_a0 *notify.TestTemplatesResults, _a1 error) *RemoteAlertmanagerMock_TestTemplate_Call
- func (_c *RemoteAlertmanagerMock_TestTemplate_Call) Run(run func(ctx context.Context, c definitions.TestTemplatesConfigBodyParams)) *RemoteAlertmanagerMock_TestTemplate_Call
- func (_c *RemoteAlertmanagerMock_TestTemplate_Call) RunAndReturn(...) *RemoteAlertmanagerMock_TestTemplate_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteAlertmanagerMock ¶
RemoteAlertmanagerMock is an autogenerated mock type for the remoteAlertmanager type
func NewRemoteAlertmanagerMock ¶
func NewRemoteAlertmanagerMock(t interface { mock.TestingT Cleanup(func()) }) *RemoteAlertmanagerMock
NewRemoteAlertmanagerMock creates a new instance of RemoteAlertmanagerMock. 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 (*RemoteAlertmanagerMock) ApplyConfig ¶
func (_m *RemoteAlertmanagerMock) ApplyConfig(_a0 context.Context, _a1 *models.AlertConfiguration) error
ApplyConfig provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) CompareAndSendConfiguration ¶
func (_m *RemoteAlertmanagerMock) CompareAndSendConfiguration(_a0 context.Context, _a1 *models.AlertConfiguration) error
CompareAndSendConfiguration provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) CompareAndSendState ¶
func (_m *RemoteAlertmanagerMock) CompareAndSendState(_a0 context.Context) error
CompareAndSendState provides a mock function with given fields: _a0
func (*RemoteAlertmanagerMock) CreateSilence ¶
func (_m *RemoteAlertmanagerMock) CreateSilence(_a0 context.Context, _a1 *v2models.PostableSilence) (string, error)
CreateSilence provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) DeleteSilence ¶
func (_m *RemoteAlertmanagerMock) DeleteSilence(_a0 context.Context, _a1 string) error
DeleteSilence provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) EXPECT ¶
func (_m *RemoteAlertmanagerMock) EXPECT() *RemoteAlertmanagerMock_Expecter
func (*RemoteAlertmanagerMock) GetAlertGroups ¶
func (_m *RemoteAlertmanagerMock) GetAlertGroups(ctx context.Context, active bool, silenced bool, inhibited bool, filter []string, receiver string) (v2models.AlertGroups, error)
GetAlertGroups provides a mock function with given fields: ctx, active, silenced, inhibited, filter, receiver
func (*RemoteAlertmanagerMock) GetAlerts ¶
func (_m *RemoteAlertmanagerMock) GetAlerts(ctx context.Context, active bool, silenced bool, inhibited bool, filter []string, receiver string) (v2models.GettableAlerts, error)
GetAlerts provides a mock function with given fields: ctx, active, silenced, inhibited, filter, receiver
func (*RemoteAlertmanagerMock) GetReceivers ¶
GetReceivers provides a mock function with given fields: ctx
func (*RemoteAlertmanagerMock) GetSilence ¶
func (_m *RemoteAlertmanagerMock) GetSilence(_a0 context.Context, _a1 string) (v2models.GettableSilence, error)
GetSilence provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) GetStatus ¶
func (_m *RemoteAlertmanagerMock) GetStatus(_a0 context.Context) (definitions.GettableStatus, error)
GetStatus provides a mock function with given fields: _a0
func (*RemoteAlertmanagerMock) ListSilences ¶
func (_m *RemoteAlertmanagerMock) ListSilences(_a0 context.Context, _a1 []string) (v2models.GettableSilences, error)
ListSilences provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) PutAlerts ¶
func (_m *RemoteAlertmanagerMock) PutAlerts(_a0 context.Context, _a1 definitions.PostableAlerts) error
PutAlerts provides a mock function with given fields: _a0, _a1
func (*RemoteAlertmanagerMock) Ready ¶
func (_m *RemoteAlertmanagerMock) Ready() bool
Ready provides a mock function with given fields:
func (*RemoteAlertmanagerMock) SaveAndApplyConfig ¶
func (_m *RemoteAlertmanagerMock) SaveAndApplyConfig(ctx context.Context, config *definitions.PostableUserConfig) error
SaveAndApplyConfig provides a mock function with given fields: ctx, config
func (*RemoteAlertmanagerMock) SaveAndApplyDefaultConfig ¶
func (_m *RemoteAlertmanagerMock) SaveAndApplyDefaultConfig(ctx context.Context) error
SaveAndApplyDefaultConfig provides a mock function with given fields: ctx
func (*RemoteAlertmanagerMock) SilenceState ¶
func (_m *RemoteAlertmanagerMock) SilenceState(_a0 context.Context) (notify.SilenceState, error)
SilenceState provides a mock function with given fields: _a0
func (*RemoteAlertmanagerMock) StopAndWait ¶
func (_m *RemoteAlertmanagerMock) StopAndWait()
StopAndWait provides a mock function with given fields:
func (*RemoteAlertmanagerMock) TestReceivers ¶
func (_m *RemoteAlertmanagerMock) TestReceivers(ctx context.Context, c definitions.TestReceiversConfigBodyParams) (*notifier.TestReceiversResult, error)
TestReceivers provides a mock function with given fields: ctx, c
func (*RemoteAlertmanagerMock) TestTemplate ¶
func (_m *RemoteAlertmanagerMock) TestTemplate(ctx context.Context, c definitions.TestTemplatesConfigBodyParams) (*notify.TestTemplatesResults, error)
TestTemplate provides a mock function with given fields: ctx, c
type RemoteAlertmanagerMock_ApplyConfig_Call ¶
RemoteAlertmanagerMock_ApplyConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyConfig'
func (*RemoteAlertmanagerMock_ApplyConfig_Call) Return ¶
func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) Return(_a0 error) *RemoteAlertmanagerMock_ApplyConfig_Call
func (*RemoteAlertmanagerMock_ApplyConfig_Call) Run ¶
func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) Run(run func(_a0 context.Context, _a1 *models.AlertConfiguration)) *RemoteAlertmanagerMock_ApplyConfig_Call
func (*RemoteAlertmanagerMock_ApplyConfig_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_ApplyConfig_Call) RunAndReturn(run func(context.Context, *models.AlertConfiguration) error) *RemoteAlertmanagerMock_ApplyConfig_Call
type RemoteAlertmanagerMock_CompareAndSendConfiguration_Call ¶
RemoteAlertmanagerMock_CompareAndSendConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompareAndSendConfiguration'
func (*RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) Run ¶
func (_c *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) Run(run func(_a0 context.Context, _a1 *models.AlertConfiguration)) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
func (*RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call) RunAndReturn(run func(context.Context, *models.AlertConfiguration) error) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
type RemoteAlertmanagerMock_CompareAndSendState_Call ¶
RemoteAlertmanagerMock_CompareAndSendState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompareAndSendState'
func (*RemoteAlertmanagerMock_CompareAndSendState_Call) Return ¶
func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) Return(_a0 error) *RemoteAlertmanagerMock_CompareAndSendState_Call
func (*RemoteAlertmanagerMock_CompareAndSendState_Call) Run ¶
func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_CompareAndSendState_Call
func (*RemoteAlertmanagerMock_CompareAndSendState_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_CompareAndSendState_Call) RunAndReturn(run func(context.Context) error) *RemoteAlertmanagerMock_CompareAndSendState_Call
type RemoteAlertmanagerMock_CreateSilence_Call ¶
RemoteAlertmanagerMock_CreateSilence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSilence'
func (*RemoteAlertmanagerMock_CreateSilence_Call) Return ¶
func (_c *RemoteAlertmanagerMock_CreateSilence_Call) Return(_a0 string, _a1 error) *RemoteAlertmanagerMock_CreateSilence_Call
func (*RemoteAlertmanagerMock_CreateSilence_Call) Run ¶
func (_c *RemoteAlertmanagerMock_CreateSilence_Call) Run(run func(_a0 context.Context, _a1 *v2models.PostableSilence)) *RemoteAlertmanagerMock_CreateSilence_Call
func (*RemoteAlertmanagerMock_CreateSilence_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_CreateSilence_Call) RunAndReturn(run func(context.Context, *v2models.PostableSilence) (string, error)) *RemoteAlertmanagerMock_CreateSilence_Call
type RemoteAlertmanagerMock_DeleteSilence_Call ¶
RemoteAlertmanagerMock_DeleteSilence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSilence'
func (*RemoteAlertmanagerMock_DeleteSilence_Call) Return ¶
func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) Return(_a0 error) *RemoteAlertmanagerMock_DeleteSilence_Call
func (*RemoteAlertmanagerMock_DeleteSilence_Call) Run ¶
func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) Run(run func(_a0 context.Context, _a1 string)) *RemoteAlertmanagerMock_DeleteSilence_Call
func (*RemoteAlertmanagerMock_DeleteSilence_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_DeleteSilence_Call) RunAndReturn(run func(context.Context, string) error) *RemoteAlertmanagerMock_DeleteSilence_Call
type RemoteAlertmanagerMock_Expecter ¶
type RemoteAlertmanagerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*RemoteAlertmanagerMock_Expecter) ApplyConfig ¶
func (_e *RemoteAlertmanagerMock_Expecter) ApplyConfig(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_ApplyConfig_Call
ApplyConfig is a helper method to define mock.On call
- _a0 context.Context
- _a1 *models.AlertConfiguration
func (*RemoteAlertmanagerMock_Expecter) CompareAndSendConfiguration ¶
func (_e *RemoteAlertmanagerMock_Expecter) CompareAndSendConfiguration(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_CompareAndSendConfiguration_Call
CompareAndSendConfiguration is a helper method to define mock.On call
- _a0 context.Context
- _a1 *models.AlertConfiguration
func (*RemoteAlertmanagerMock_Expecter) CompareAndSendState ¶
func (_e *RemoteAlertmanagerMock_Expecter) CompareAndSendState(_a0 interface{}) *RemoteAlertmanagerMock_CompareAndSendState_Call
CompareAndSendState is a helper method to define mock.On call
- _a0 context.Context
func (*RemoteAlertmanagerMock_Expecter) CreateSilence ¶
func (_e *RemoteAlertmanagerMock_Expecter) CreateSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_CreateSilence_Call
CreateSilence is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v2models.PostableSilence
func (*RemoteAlertmanagerMock_Expecter) DeleteSilence ¶
func (_e *RemoteAlertmanagerMock_Expecter) DeleteSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_DeleteSilence_Call
DeleteSilence is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*RemoteAlertmanagerMock_Expecter) GetAlertGroups ¶
func (_e *RemoteAlertmanagerMock_Expecter) GetAlertGroups(ctx interface{}, active interface{}, silenced interface{}, inhibited interface{}, filter interface{}, receiver interface{}) *RemoteAlertmanagerMock_GetAlertGroups_Call
GetAlertGroups is a helper method to define mock.On call
- ctx context.Context
- active bool
- silenced bool
- inhibited bool
- filter []string
- receiver string
func (*RemoteAlertmanagerMock_Expecter) GetAlerts ¶
func (_e *RemoteAlertmanagerMock_Expecter) GetAlerts(ctx interface{}, active interface{}, silenced interface{}, inhibited interface{}, filter interface{}, receiver interface{}) *RemoteAlertmanagerMock_GetAlerts_Call
GetAlerts is a helper method to define mock.On call
- ctx context.Context
- active bool
- silenced bool
- inhibited bool
- filter []string
- receiver string
func (*RemoteAlertmanagerMock_Expecter) GetReceivers ¶
func (_e *RemoteAlertmanagerMock_Expecter) GetReceivers(ctx interface{}) *RemoteAlertmanagerMock_GetReceivers_Call
GetReceivers is a helper method to define mock.On call
- ctx context.Context
func (*RemoteAlertmanagerMock_Expecter) GetSilence ¶
func (_e *RemoteAlertmanagerMock_Expecter) GetSilence(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_GetSilence_Call
GetSilence is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*RemoteAlertmanagerMock_Expecter) GetStatus ¶
func (_e *RemoteAlertmanagerMock_Expecter) GetStatus(_a0 interface{}) *RemoteAlertmanagerMock_GetStatus_Call
GetStatus is a helper method to define mock.On call
- _a0 context.Context
func (*RemoteAlertmanagerMock_Expecter) ListSilences ¶
func (_e *RemoteAlertmanagerMock_Expecter) ListSilences(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_ListSilences_Call
ListSilences is a helper method to define mock.On call
- _a0 context.Context
- _a1 []string
func (*RemoteAlertmanagerMock_Expecter) PutAlerts ¶
func (_e *RemoteAlertmanagerMock_Expecter) PutAlerts(_a0 interface{}, _a1 interface{}) *RemoteAlertmanagerMock_PutAlerts_Call
PutAlerts is a helper method to define mock.On call
- _a0 context.Context
- _a1 definitions.PostableAlerts
func (*RemoteAlertmanagerMock_Expecter) Ready ¶
func (_e *RemoteAlertmanagerMock_Expecter) Ready() *RemoteAlertmanagerMock_Ready_Call
Ready is a helper method to define mock.On call
func (*RemoteAlertmanagerMock_Expecter) SaveAndApplyConfig ¶
func (_e *RemoteAlertmanagerMock_Expecter) SaveAndApplyConfig(ctx interface{}, config interface{}) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
SaveAndApplyConfig is a helper method to define mock.On call
- ctx context.Context
- config *definitions.PostableUserConfig
func (*RemoteAlertmanagerMock_Expecter) SaveAndApplyDefaultConfig ¶
func (_e *RemoteAlertmanagerMock_Expecter) SaveAndApplyDefaultConfig(ctx interface{}) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
SaveAndApplyDefaultConfig is a helper method to define mock.On call
- ctx context.Context
func (*RemoteAlertmanagerMock_Expecter) SilenceState ¶
func (_e *RemoteAlertmanagerMock_Expecter) SilenceState(_a0 interface{}) *RemoteAlertmanagerMock_SilenceState_Call
SilenceState is a helper method to define mock.On call
- _a0 context.Context
func (*RemoteAlertmanagerMock_Expecter) StopAndWait ¶
func (_e *RemoteAlertmanagerMock_Expecter) StopAndWait() *RemoteAlertmanagerMock_StopAndWait_Call
StopAndWait is a helper method to define mock.On call
func (*RemoteAlertmanagerMock_Expecter) TestReceivers ¶
func (_e *RemoteAlertmanagerMock_Expecter) TestReceivers(ctx interface{}, c interface{}) *RemoteAlertmanagerMock_TestReceivers_Call
TestReceivers is a helper method to define mock.On call
- ctx context.Context
- c definitions.TestReceiversConfigBodyParams
func (*RemoteAlertmanagerMock_Expecter) TestTemplate ¶
func (_e *RemoteAlertmanagerMock_Expecter) TestTemplate(ctx interface{}, c interface{}) *RemoteAlertmanagerMock_TestTemplate_Call
TestTemplate is a helper method to define mock.On call
- ctx context.Context
- c definitions.TestTemplatesConfigBodyParams
type RemoteAlertmanagerMock_GetAlertGroups_Call ¶
RemoteAlertmanagerMock_GetAlertGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlertGroups'
func (*RemoteAlertmanagerMock_GetAlertGroups_Call) Return ¶
func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) Return(_a0 v2models.AlertGroups, _a1 error) *RemoteAlertmanagerMock_GetAlertGroups_Call
func (*RemoteAlertmanagerMock_GetAlertGroups_Call) Run ¶
func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) Run(run func(ctx context.Context, active bool, silenced bool, inhibited bool, filter []string, receiver string)) *RemoteAlertmanagerMock_GetAlertGroups_Call
func (*RemoteAlertmanagerMock_GetAlertGroups_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_GetAlertGroups_Call) RunAndReturn(run func(context.Context, bool, bool, bool, []string, string) (v2models.AlertGroups, error)) *RemoteAlertmanagerMock_GetAlertGroups_Call
type RemoteAlertmanagerMock_GetAlerts_Call ¶
RemoteAlertmanagerMock_GetAlerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlerts'
func (*RemoteAlertmanagerMock_GetAlerts_Call) Return ¶
func (_c *RemoteAlertmanagerMock_GetAlerts_Call) Return(_a0 v2models.GettableAlerts, _a1 error) *RemoteAlertmanagerMock_GetAlerts_Call
func (*RemoteAlertmanagerMock_GetAlerts_Call) Run ¶
func (_c *RemoteAlertmanagerMock_GetAlerts_Call) Run(run func(ctx context.Context, active bool, silenced bool, inhibited bool, filter []string, receiver string)) *RemoteAlertmanagerMock_GetAlerts_Call
func (*RemoteAlertmanagerMock_GetAlerts_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_GetAlerts_Call) RunAndReturn(run func(context.Context, bool, bool, bool, []string, string) (v2models.GettableAlerts, error)) *RemoteAlertmanagerMock_GetAlerts_Call
type RemoteAlertmanagerMock_GetReceivers_Call ¶
RemoteAlertmanagerMock_GetReceivers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReceivers'
func (*RemoteAlertmanagerMock_GetReceivers_Call) Return ¶
func (_c *RemoteAlertmanagerMock_GetReceivers_Call) Return(_a0 []v2models.Receiver, _a1 error) *RemoteAlertmanagerMock_GetReceivers_Call
func (*RemoteAlertmanagerMock_GetReceivers_Call) Run ¶
func (_c *RemoteAlertmanagerMock_GetReceivers_Call) Run(run func(ctx context.Context)) *RemoteAlertmanagerMock_GetReceivers_Call
func (*RemoteAlertmanagerMock_GetReceivers_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_GetReceivers_Call) RunAndReturn(run func(context.Context) ([]v2models.Receiver, error)) *RemoteAlertmanagerMock_GetReceivers_Call
type RemoteAlertmanagerMock_GetSilence_Call ¶
RemoteAlertmanagerMock_GetSilence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSilence'
func (*RemoteAlertmanagerMock_GetSilence_Call) Return ¶
func (_c *RemoteAlertmanagerMock_GetSilence_Call) Return(_a0 v2models.GettableSilence, _a1 error) *RemoteAlertmanagerMock_GetSilence_Call
func (*RemoteAlertmanagerMock_GetSilence_Call) Run ¶
func (_c *RemoteAlertmanagerMock_GetSilence_Call) Run(run func(_a0 context.Context, _a1 string)) *RemoteAlertmanagerMock_GetSilence_Call
func (*RemoteAlertmanagerMock_GetSilence_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_GetSilence_Call) RunAndReturn(run func(context.Context, string) (v2models.GettableSilence, error)) *RemoteAlertmanagerMock_GetSilence_Call
type RemoteAlertmanagerMock_GetStatus_Call ¶
RemoteAlertmanagerMock_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'
func (*RemoteAlertmanagerMock_GetStatus_Call) Return ¶
func (_c *RemoteAlertmanagerMock_GetStatus_Call) Return(_a0 definitions.GettableStatus, _a1 error) *RemoteAlertmanagerMock_GetStatus_Call
func (*RemoteAlertmanagerMock_GetStatus_Call) Run ¶
func (_c *RemoteAlertmanagerMock_GetStatus_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_GetStatus_Call
func (*RemoteAlertmanagerMock_GetStatus_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_GetStatus_Call) RunAndReturn(run func(context.Context) (definitions.GettableStatus, error)) *RemoteAlertmanagerMock_GetStatus_Call
type RemoteAlertmanagerMock_ListSilences_Call ¶
RemoteAlertmanagerMock_ListSilences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSilences'
func (*RemoteAlertmanagerMock_ListSilences_Call) Return ¶
func (_c *RemoteAlertmanagerMock_ListSilences_Call) Return(_a0 v2models.GettableSilences, _a1 error) *RemoteAlertmanagerMock_ListSilences_Call
func (*RemoteAlertmanagerMock_ListSilences_Call) Run ¶
func (_c *RemoteAlertmanagerMock_ListSilences_Call) Run(run func(_a0 context.Context, _a1 []string)) *RemoteAlertmanagerMock_ListSilences_Call
func (*RemoteAlertmanagerMock_ListSilences_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_ListSilences_Call) RunAndReturn(run func(context.Context, []string) (v2models.GettableSilences, error)) *RemoteAlertmanagerMock_ListSilences_Call
type RemoteAlertmanagerMock_PutAlerts_Call ¶
RemoteAlertmanagerMock_PutAlerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAlerts'
func (*RemoteAlertmanagerMock_PutAlerts_Call) Return ¶
func (_c *RemoteAlertmanagerMock_PutAlerts_Call) Return(_a0 error) *RemoteAlertmanagerMock_PutAlerts_Call
func (*RemoteAlertmanagerMock_PutAlerts_Call) Run ¶
func (_c *RemoteAlertmanagerMock_PutAlerts_Call) Run(run func(_a0 context.Context, _a1 definitions.PostableAlerts)) *RemoteAlertmanagerMock_PutAlerts_Call
func (*RemoteAlertmanagerMock_PutAlerts_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_PutAlerts_Call) RunAndReturn(run func(context.Context, definitions.PostableAlerts) error) *RemoteAlertmanagerMock_PutAlerts_Call
type RemoteAlertmanagerMock_Ready_Call ¶
RemoteAlertmanagerMock_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*RemoteAlertmanagerMock_Ready_Call) Return ¶
func (_c *RemoteAlertmanagerMock_Ready_Call) Return(_a0 bool) *RemoteAlertmanagerMock_Ready_Call
func (*RemoteAlertmanagerMock_Ready_Call) Run ¶
func (_c *RemoteAlertmanagerMock_Ready_Call) Run(run func()) *RemoteAlertmanagerMock_Ready_Call
func (*RemoteAlertmanagerMock_Ready_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_Ready_Call) RunAndReturn(run func() bool) *RemoteAlertmanagerMock_Ready_Call
type RemoteAlertmanagerMock_SaveAndApplyConfig_Call ¶
RemoteAlertmanagerMock_SaveAndApplyConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveAndApplyConfig'
func (*RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Return ¶
func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Return(_a0 error) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
func (*RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Run ¶
func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) Run(run func(ctx context.Context, config *definitions.PostableUserConfig)) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
func (*RemoteAlertmanagerMock_SaveAndApplyConfig_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_SaveAndApplyConfig_Call) RunAndReturn(run func(context.Context, *definitions.PostableUserConfig) error) *RemoteAlertmanagerMock_SaveAndApplyConfig_Call
type RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call ¶
RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveAndApplyDefaultConfig'
func (*RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) Run ¶
func (_c *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) Run(run func(ctx context.Context)) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
func (*RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call) RunAndReturn(run func(context.Context) error) *RemoteAlertmanagerMock_SaveAndApplyDefaultConfig_Call
type RemoteAlertmanagerMock_SilenceState_Call ¶
RemoteAlertmanagerMock_SilenceState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SilenceState'
func (*RemoteAlertmanagerMock_SilenceState_Call) Return ¶
func (_c *RemoteAlertmanagerMock_SilenceState_Call) Return(_a0 notify.SilenceState, _a1 error) *RemoteAlertmanagerMock_SilenceState_Call
func (*RemoteAlertmanagerMock_SilenceState_Call) Run ¶
func (_c *RemoteAlertmanagerMock_SilenceState_Call) Run(run func(_a0 context.Context)) *RemoteAlertmanagerMock_SilenceState_Call
func (*RemoteAlertmanagerMock_SilenceState_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_SilenceState_Call) RunAndReturn(run func(context.Context) (notify.SilenceState, error)) *RemoteAlertmanagerMock_SilenceState_Call
type RemoteAlertmanagerMock_StopAndWait_Call ¶
RemoteAlertmanagerMock_StopAndWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAndWait'
func (*RemoteAlertmanagerMock_StopAndWait_Call) Return ¶
func (_c *RemoteAlertmanagerMock_StopAndWait_Call) Return() *RemoteAlertmanagerMock_StopAndWait_Call
func (*RemoteAlertmanagerMock_StopAndWait_Call) Run ¶
func (_c *RemoteAlertmanagerMock_StopAndWait_Call) Run(run func()) *RemoteAlertmanagerMock_StopAndWait_Call
func (*RemoteAlertmanagerMock_StopAndWait_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_StopAndWait_Call) RunAndReturn(run func()) *RemoteAlertmanagerMock_StopAndWait_Call
type RemoteAlertmanagerMock_TestReceivers_Call ¶
RemoteAlertmanagerMock_TestReceivers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestReceivers'
func (*RemoteAlertmanagerMock_TestReceivers_Call) Return ¶
func (_c *RemoteAlertmanagerMock_TestReceivers_Call) Return(_a0 *notifier.TestReceiversResult, _a1 error) *RemoteAlertmanagerMock_TestReceivers_Call
func (*RemoteAlertmanagerMock_TestReceivers_Call) Run ¶
func (_c *RemoteAlertmanagerMock_TestReceivers_Call) Run(run func(ctx context.Context, c definitions.TestReceiversConfigBodyParams)) *RemoteAlertmanagerMock_TestReceivers_Call
func (*RemoteAlertmanagerMock_TestReceivers_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_TestReceivers_Call) RunAndReturn(run func(context.Context, definitions.TestReceiversConfigBodyParams) (*notifier.TestReceiversResult, error)) *RemoteAlertmanagerMock_TestReceivers_Call
type RemoteAlertmanagerMock_TestTemplate_Call ¶
RemoteAlertmanagerMock_TestTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestTemplate'
func (*RemoteAlertmanagerMock_TestTemplate_Call) Return ¶
func (_c *RemoteAlertmanagerMock_TestTemplate_Call) Return(_a0 *notify.TestTemplatesResults, _a1 error) *RemoteAlertmanagerMock_TestTemplate_Call
func (*RemoteAlertmanagerMock_TestTemplate_Call) Run ¶
func (_c *RemoteAlertmanagerMock_TestTemplate_Call) Run(run func(ctx context.Context, c definitions.TestTemplatesConfigBodyParams)) *RemoteAlertmanagerMock_TestTemplate_Call
func (*RemoteAlertmanagerMock_TestTemplate_Call) RunAndReturn ¶
func (_c *RemoteAlertmanagerMock_TestTemplate_Call) RunAndReturn(run func(context.Context, definitions.TestTemplatesConfigBodyParams) (*notify.TestTemplatesResults, error)) *RemoteAlertmanagerMock_TestTemplate_Call