Documentation
¶
Index ¶
- type MockAlertIncidentService
- func (_m *MockAlertIncidentService) EXPECT() *MockAlertIncidentService_Expecter
- func (_m *MockAlertIncidentService) QueryAlerts(ctx context.Context, req gen.AlertsQueryRequest) (*gen.AlertsQueryResponse, error)
- func (_m *MockAlertIncidentService) QueryIncidents(ctx context.Context, req gen.IncidentsQueryRequest) (*gen.IncidentsQueryResponse, error)
- func (_m *MockAlertIncidentService) UpdateIncident(ctx context.Context, incidentID string, req gen.IncidentPutRequest) (*gen.IncidentPutResponse, error)
- type MockAlertIncidentService_Expecter
- func (_e *MockAlertIncidentService_Expecter) QueryAlerts(ctx interface{}, req interface{}) *MockAlertIncidentService_QueryAlerts_Call
- func (_e *MockAlertIncidentService_Expecter) QueryIncidents(ctx interface{}, req interface{}) *MockAlertIncidentService_QueryIncidents_Call
- func (_e *MockAlertIncidentService_Expecter) UpdateIncident(ctx interface{}, incidentID interface{}, req interface{}) *MockAlertIncidentService_UpdateIncident_Call
- type MockAlertIncidentService_QueryAlerts_Call
- func (_c *MockAlertIncidentService_QueryAlerts_Call) Return(_a0 *gen.AlertsQueryResponse, _a1 error) *MockAlertIncidentService_QueryAlerts_Call
- func (_c *MockAlertIncidentService_QueryAlerts_Call) Run(run func(ctx context.Context, req gen.AlertsQueryRequest)) *MockAlertIncidentService_QueryAlerts_Call
- func (_c *MockAlertIncidentService_QueryAlerts_Call) RunAndReturn(...) *MockAlertIncidentService_QueryAlerts_Call
- type MockAlertIncidentService_QueryIncidents_Call
- func (_c *MockAlertIncidentService_QueryIncidents_Call) Return(_a0 *gen.IncidentsQueryResponse, _a1 error) *MockAlertIncidentService_QueryIncidents_Call
- func (_c *MockAlertIncidentService_QueryIncidents_Call) Run(run func(ctx context.Context, req gen.IncidentsQueryRequest)) *MockAlertIncidentService_QueryIncidents_Call
- func (_c *MockAlertIncidentService_QueryIncidents_Call) RunAndReturn(...) *MockAlertIncidentService_QueryIncidents_Call
- type MockAlertIncidentService_UpdateIncident_Call
- func (_c *MockAlertIncidentService_UpdateIncident_Call) Return(_a0 *gen.IncidentPutResponse, _a1 error) *MockAlertIncidentService_UpdateIncident_Call
- func (_c *MockAlertIncidentService_UpdateIncident_Call) Run(run func(ctx context.Context, incidentID string, req gen.IncidentPutRequest)) *MockAlertIncidentService_UpdateIncident_Call
- func (_c *MockAlertIncidentService_UpdateIncident_Call) RunAndReturn(...) *MockAlertIncidentService_UpdateIncident_Call
- type MockAlertRuleService
- func (_m *MockAlertRuleService) CreateAlertRule(ctx context.Context, req gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)
- func (_m *MockAlertRuleService) DeleteAlertRule(ctx context.Context, ruleName string, sourceType string) (*gen.AlertingRuleSyncResponse, error)
- func (_m *MockAlertRuleService) EXPECT() *MockAlertRuleService_Expecter
- func (_m *MockAlertRuleService) GetAlertRule(ctx context.Context, ruleName string, sourceType string) (*gen.AlertRuleResponse, error)
- func (_m *MockAlertRuleService) HandleAlertWebhook(ctx context.Context, req gen.AlertWebhookRequest) (*gen.AlertWebhookResponse, error)
- func (_m *MockAlertRuleService) UpdateAlertRule(ctx context.Context, ruleName string, req gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)
- type MockAlertRuleService_CreateAlertRule_Call
- func (_c *MockAlertRuleService_CreateAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_CreateAlertRule_Call
- func (_c *MockAlertRuleService_CreateAlertRule_Call) Run(run func(ctx context.Context, req gen.AlertRuleRequest)) *MockAlertRuleService_CreateAlertRule_Call
- func (_c *MockAlertRuleService_CreateAlertRule_Call) RunAndReturn(...) *MockAlertRuleService_CreateAlertRule_Call
- type MockAlertRuleService_DeleteAlertRule_Call
- func (_c *MockAlertRuleService_DeleteAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_DeleteAlertRule_Call
- func (_c *MockAlertRuleService_DeleteAlertRule_Call) Run(run func(ctx context.Context, ruleName string, sourceType string)) *MockAlertRuleService_DeleteAlertRule_Call
- func (_c *MockAlertRuleService_DeleteAlertRule_Call) RunAndReturn(...) *MockAlertRuleService_DeleteAlertRule_Call
- type MockAlertRuleService_Expecter
- func (_e *MockAlertRuleService_Expecter) CreateAlertRule(ctx interface{}, req interface{}) *MockAlertRuleService_CreateAlertRule_Call
- func (_e *MockAlertRuleService_Expecter) DeleteAlertRule(ctx interface{}, ruleName interface{}, sourceType interface{}) *MockAlertRuleService_DeleteAlertRule_Call
- func (_e *MockAlertRuleService_Expecter) GetAlertRule(ctx interface{}, ruleName interface{}, sourceType interface{}) *MockAlertRuleService_GetAlertRule_Call
- func (_e *MockAlertRuleService_Expecter) HandleAlertWebhook(ctx interface{}, req interface{}) *MockAlertRuleService_HandleAlertWebhook_Call
- func (_e *MockAlertRuleService_Expecter) UpdateAlertRule(ctx interface{}, ruleName interface{}, req interface{}) *MockAlertRuleService_UpdateAlertRule_Call
- type MockAlertRuleService_GetAlertRule_Call
- func (_c *MockAlertRuleService_GetAlertRule_Call) Return(_a0 *gen.AlertRuleResponse, _a1 error) *MockAlertRuleService_GetAlertRule_Call
- func (_c *MockAlertRuleService_GetAlertRule_Call) Run(run func(ctx context.Context, ruleName string, sourceType string)) *MockAlertRuleService_GetAlertRule_Call
- func (_c *MockAlertRuleService_GetAlertRule_Call) RunAndReturn(run func(context.Context, string, string) (*gen.AlertRuleResponse, error)) *MockAlertRuleService_GetAlertRule_Call
- type MockAlertRuleService_HandleAlertWebhook_Call
- func (_c *MockAlertRuleService_HandleAlertWebhook_Call) Return(_a0 *gen.AlertWebhookResponse, _a1 error) *MockAlertRuleService_HandleAlertWebhook_Call
- func (_c *MockAlertRuleService_HandleAlertWebhook_Call) Run(run func(ctx context.Context, req gen.AlertWebhookRequest)) *MockAlertRuleService_HandleAlertWebhook_Call
- func (_c *MockAlertRuleService_HandleAlertWebhook_Call) RunAndReturn(...) *MockAlertRuleService_HandleAlertWebhook_Call
- type MockAlertRuleService_UpdateAlertRule_Call
- func (_c *MockAlertRuleService_UpdateAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_UpdateAlertRule_Call
- func (_c *MockAlertRuleService_UpdateAlertRule_Call) Run(run func(ctx context.Context, ruleName string, req gen.AlertRuleRequest)) *MockAlertRuleService_UpdateAlertRule_Call
- func (_c *MockAlertRuleService_UpdateAlertRule_Call) RunAndReturn(...) *MockAlertRuleService_UpdateAlertRule_Call
- type MockAlertsQuerier
- type MockAlertsQuerier_Expecter
- type MockAlertsQuerier_QueryAlerts_Call
- func (_c *MockAlertsQuerier_QueryAlerts_Call) Return(_a0 *gen.AlertsQueryResponse, _a1 error) *MockAlertsQuerier_QueryAlerts_Call
- func (_c *MockAlertsQuerier_QueryAlerts_Call) Run(run func(ctx context.Context, req gen.AlertsQueryRequest)) *MockAlertsQuerier_QueryAlerts_Call
- func (_c *MockAlertsQuerier_QueryAlerts_Call) RunAndReturn(...) *MockAlertsQuerier_QueryAlerts_Call
- type MockHealthChecker
- type MockHealthChecker_Check_Call
- func (_c *MockHealthChecker_Check_Call) Return(_a0 error) *MockHealthChecker_Check_Call
- func (_c *MockHealthChecker_Check_Call) Run(run func(ctx context.Context)) *MockHealthChecker_Check_Call
- func (_c *MockHealthChecker_Check_Call) RunAndReturn(run func(context.Context) error) *MockHealthChecker_Check_Call
- type MockHealthChecker_Expecter
- type MockIncidentsQuerier
- type MockIncidentsQuerier_Expecter
- type MockIncidentsQuerier_QueryIncidents_Call
- func (_c *MockIncidentsQuerier_QueryIncidents_Call) Return(_a0 *gen.IncidentsQueryResponse, _a1 error) *MockIncidentsQuerier_QueryIncidents_Call
- func (_c *MockIncidentsQuerier_QueryIncidents_Call) Run(run func(ctx context.Context, req gen.IncidentsQueryRequest)) *MockIncidentsQuerier_QueryIncidents_Call
- func (_c *MockIncidentsQuerier_QueryIncidents_Call) RunAndReturn(...) *MockIncidentsQuerier_QueryIncidents_Call
- type MockIncidentsUpdater
- type MockIncidentsUpdater_Expecter
- type MockIncidentsUpdater_UpdateIncident_Call
- func (_c *MockIncidentsUpdater_UpdateIncident_Call) Return(_a0 *gen.IncidentPutResponse, _a1 error) *MockIncidentsUpdater_UpdateIncident_Call
- func (_c *MockIncidentsUpdater_UpdateIncident_Call) Run(run func(ctx context.Context, incidentID string, req gen.IncidentPutRequest)) *MockIncidentsUpdater_UpdateIncident_Call
- func (_c *MockIncidentsUpdater_UpdateIncident_Call) RunAndReturn(...) *MockIncidentsUpdater_UpdateIncident_Call
- type MockLogsQuerier
- type MockLogsQuerier_Expecter
- type MockLogsQuerier_QueryLogs_Call
- func (_c *MockLogsQuerier_QueryLogs_Call) Return(_a0 *types.LogsQueryResponse, _a1 error) *MockLogsQuerier_QueryLogs_Call
- func (_c *MockLogsQuerier_QueryLogs_Call) Run(run func(ctx context.Context, req *types.LogsQueryRequest)) *MockLogsQuerier_QueryLogs_Call
- func (_c *MockLogsQuerier_QueryLogs_Call) RunAndReturn(...) *MockLogsQuerier_QueryLogs_Call
- type MockMetricsQuerier
- func (_m *MockMetricsQuerier) EXPECT() *MockMetricsQuerier_Expecter
- func (_m *MockMetricsQuerier) QueryMetrics(ctx context.Context, req *types.MetricsQueryRequest) (interface{}, error)
- func (_m *MockMetricsQuerier) QueryRuntimeTopology(ctx context.Context, req *types.RuntimeTopologyRequest) (*types.RuntimeTopologyResponse, error)
- type MockMetricsQuerier_Expecter
- type MockMetricsQuerier_QueryMetrics_Call
- func (_c *MockMetricsQuerier_QueryMetrics_Call) Return(_a0 interface{}, _a1 error) *MockMetricsQuerier_QueryMetrics_Call
- func (_c *MockMetricsQuerier_QueryMetrics_Call) Run(run func(ctx context.Context, req *types.MetricsQueryRequest)) *MockMetricsQuerier_QueryMetrics_Call
- func (_c *MockMetricsQuerier_QueryMetrics_Call) RunAndReturn(run func(context.Context, *types.MetricsQueryRequest) (interface{}, error)) *MockMetricsQuerier_QueryMetrics_Call
- type MockMetricsQuerier_QueryRuntimeTopology_Call
- func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) Return(_a0 *types.RuntimeTopologyResponse, _a1 error) *MockMetricsQuerier_QueryRuntimeTopology_Call
- func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) Run(run func(ctx context.Context, req *types.RuntimeTopologyRequest)) *MockMetricsQuerier_QueryRuntimeTopology_Call
- func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) RunAndReturn(...) *MockMetricsQuerier_QueryRuntimeTopology_Call
- type MockTracesQuerier
- func (_m *MockTracesQuerier) EXPECT() *MockTracesQuerier_Expecter
- func (_m *MockTracesQuerier) GetSpanDetails(ctx context.Context, traceID string, spanID string) (*types.SpanInfo, error)
- func (_m *MockTracesQuerier) QuerySpans(ctx context.Context, traceID string, req *types.TracesQueryRequest) (*types.SpansQueryResponse, error)
- func (_m *MockTracesQuerier) QueryTraces(ctx context.Context, req *types.TracesQueryRequest) (*types.TracesQueryResponse, error)
- type MockTracesQuerier_Expecter
- func (_e *MockTracesQuerier_Expecter) GetSpanDetails(ctx interface{}, traceID interface{}, spanID interface{}) *MockTracesQuerier_GetSpanDetails_Call
- func (_e *MockTracesQuerier_Expecter) QuerySpans(ctx interface{}, traceID interface{}, req interface{}) *MockTracesQuerier_QuerySpans_Call
- func (_e *MockTracesQuerier_Expecter) QueryTraces(ctx interface{}, req interface{}) *MockTracesQuerier_QueryTraces_Call
- type MockTracesQuerier_GetSpanDetails_Call
- func (_c *MockTracesQuerier_GetSpanDetails_Call) Return(_a0 *types.SpanInfo, _a1 error) *MockTracesQuerier_GetSpanDetails_Call
- func (_c *MockTracesQuerier_GetSpanDetails_Call) Run(run func(ctx context.Context, traceID string, spanID string)) *MockTracesQuerier_GetSpanDetails_Call
- func (_c *MockTracesQuerier_GetSpanDetails_Call) RunAndReturn(run func(context.Context, string, string) (*types.SpanInfo, error)) *MockTracesQuerier_GetSpanDetails_Call
- type MockTracesQuerier_QuerySpans_Call
- func (_c *MockTracesQuerier_QuerySpans_Call) Return(_a0 *types.SpansQueryResponse, _a1 error) *MockTracesQuerier_QuerySpans_Call
- func (_c *MockTracesQuerier_QuerySpans_Call) Run(run func(ctx context.Context, traceID string, req *types.TracesQueryRequest)) *MockTracesQuerier_QuerySpans_Call
- func (_c *MockTracesQuerier_QuerySpans_Call) RunAndReturn(...) *MockTracesQuerier_QuerySpans_Call
- type MockTracesQuerier_QueryTraces_Call
- func (_c *MockTracesQuerier_QueryTraces_Call) Return(_a0 *types.TracesQueryResponse, _a1 error) *MockTracesQuerier_QueryTraces_Call
- func (_c *MockTracesQuerier_QueryTraces_Call) Run(run func(ctx context.Context, req *types.TracesQueryRequest)) *MockTracesQuerier_QueryTraces_Call
- func (_c *MockTracesQuerier_QueryTraces_Call) RunAndReturn(...) *MockTracesQuerier_QueryTraces_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAlertIncidentService ¶
MockAlertIncidentService is an autogenerated mock type for the AlertIncidentService type
func NewMockAlertIncidentService ¶
func NewMockAlertIncidentService(t interface {
mock.TestingT
Cleanup(func())
}) *MockAlertIncidentService
NewMockAlertIncidentService creates a new instance of MockAlertIncidentService. 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 (*MockAlertIncidentService) EXPECT ¶
func (_m *MockAlertIncidentService) EXPECT() *MockAlertIncidentService_Expecter
func (*MockAlertIncidentService) QueryAlerts ¶
func (_m *MockAlertIncidentService) QueryAlerts(ctx context.Context, req gen.AlertsQueryRequest) (*gen.AlertsQueryResponse, error)
QueryAlerts provides a mock function with given fields: ctx, req
func (*MockAlertIncidentService) QueryIncidents ¶
func (_m *MockAlertIncidentService) QueryIncidents(ctx context.Context, req gen.IncidentsQueryRequest) (*gen.IncidentsQueryResponse, error)
QueryIncidents provides a mock function with given fields: ctx, req
func (*MockAlertIncidentService) UpdateIncident ¶
func (_m *MockAlertIncidentService) UpdateIncident(ctx context.Context, incidentID string, req gen.IncidentPutRequest) (*gen.IncidentPutResponse, error)
UpdateIncident provides a mock function with given fields: ctx, incidentID, req
type MockAlertIncidentService_Expecter ¶
type MockAlertIncidentService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAlertIncidentService_Expecter) QueryAlerts ¶
func (_e *MockAlertIncidentService_Expecter) QueryAlerts(ctx interface{}, req interface{}) *MockAlertIncidentService_QueryAlerts_Call
QueryAlerts is a helper method to define mock.On call
- ctx context.Context
- req gen.AlertsQueryRequest
func (*MockAlertIncidentService_Expecter) QueryIncidents ¶
func (_e *MockAlertIncidentService_Expecter) QueryIncidents(ctx interface{}, req interface{}) *MockAlertIncidentService_QueryIncidents_Call
QueryIncidents is a helper method to define mock.On call
- ctx context.Context
- req gen.IncidentsQueryRequest
func (*MockAlertIncidentService_Expecter) UpdateIncident ¶
func (_e *MockAlertIncidentService_Expecter) UpdateIncident(ctx interface{}, incidentID interface{}, req interface{}) *MockAlertIncidentService_UpdateIncident_Call
UpdateIncident is a helper method to define mock.On call
- ctx context.Context
- incidentID string
- req gen.IncidentPutRequest
type MockAlertIncidentService_QueryAlerts_Call ¶
MockAlertIncidentService_QueryAlerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryAlerts'
func (*MockAlertIncidentService_QueryAlerts_Call) Return ¶
func (_c *MockAlertIncidentService_QueryAlerts_Call) Return(_a0 *gen.AlertsQueryResponse, _a1 error) *MockAlertIncidentService_QueryAlerts_Call
func (*MockAlertIncidentService_QueryAlerts_Call) Run ¶
func (_c *MockAlertIncidentService_QueryAlerts_Call) Run(run func(ctx context.Context, req gen.AlertsQueryRequest)) *MockAlertIncidentService_QueryAlerts_Call
func (*MockAlertIncidentService_QueryAlerts_Call) RunAndReturn ¶
func (_c *MockAlertIncidentService_QueryAlerts_Call) RunAndReturn(run func(context.Context, gen.AlertsQueryRequest) (*gen.AlertsQueryResponse, error)) *MockAlertIncidentService_QueryAlerts_Call
type MockAlertIncidentService_QueryIncidents_Call ¶
MockAlertIncidentService_QueryIncidents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryIncidents'
func (*MockAlertIncidentService_QueryIncidents_Call) Return ¶
func (_c *MockAlertIncidentService_QueryIncidents_Call) Return(_a0 *gen.IncidentsQueryResponse, _a1 error) *MockAlertIncidentService_QueryIncidents_Call
func (*MockAlertIncidentService_QueryIncidents_Call) Run ¶
func (_c *MockAlertIncidentService_QueryIncidents_Call) Run(run func(ctx context.Context, req gen.IncidentsQueryRequest)) *MockAlertIncidentService_QueryIncidents_Call
func (*MockAlertIncidentService_QueryIncidents_Call) RunAndReturn ¶
func (_c *MockAlertIncidentService_QueryIncidents_Call) RunAndReturn(run func(context.Context, gen.IncidentsQueryRequest) (*gen.IncidentsQueryResponse, error)) *MockAlertIncidentService_QueryIncidents_Call
type MockAlertIncidentService_UpdateIncident_Call ¶
MockAlertIncidentService_UpdateIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIncident'
func (*MockAlertIncidentService_UpdateIncident_Call) Return ¶
func (_c *MockAlertIncidentService_UpdateIncident_Call) Return(_a0 *gen.IncidentPutResponse, _a1 error) *MockAlertIncidentService_UpdateIncident_Call
func (*MockAlertIncidentService_UpdateIncident_Call) Run ¶
func (_c *MockAlertIncidentService_UpdateIncident_Call) Run(run func(ctx context.Context, incidentID string, req gen.IncidentPutRequest)) *MockAlertIncidentService_UpdateIncident_Call
func (*MockAlertIncidentService_UpdateIncident_Call) RunAndReturn ¶
func (_c *MockAlertIncidentService_UpdateIncident_Call) RunAndReturn(run func(context.Context, string, gen.IncidentPutRequest) (*gen.IncidentPutResponse, error)) *MockAlertIncidentService_UpdateIncident_Call
type MockAlertRuleService ¶
MockAlertRuleService is an autogenerated mock type for the AlertRuleService type
func NewMockAlertRuleService ¶
func NewMockAlertRuleService(t interface {
mock.TestingT
Cleanup(func())
}) *MockAlertRuleService
NewMockAlertRuleService creates a new instance of MockAlertRuleService. 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 (*MockAlertRuleService) CreateAlertRule ¶
func (_m *MockAlertRuleService) CreateAlertRule(ctx context.Context, req gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)
CreateAlertRule provides a mock function with given fields: ctx, req
func (*MockAlertRuleService) DeleteAlertRule ¶
func (_m *MockAlertRuleService) DeleteAlertRule(ctx context.Context, ruleName string, sourceType string) (*gen.AlertingRuleSyncResponse, error)
DeleteAlertRule provides a mock function with given fields: ctx, ruleName, sourceType
func (*MockAlertRuleService) EXPECT ¶
func (_m *MockAlertRuleService) EXPECT() *MockAlertRuleService_Expecter
func (*MockAlertRuleService) GetAlertRule ¶
func (_m *MockAlertRuleService) GetAlertRule(ctx context.Context, ruleName string, sourceType string) (*gen.AlertRuleResponse, error)
GetAlertRule provides a mock function with given fields: ctx, ruleName, sourceType
func (*MockAlertRuleService) HandleAlertWebhook ¶
func (_m *MockAlertRuleService) HandleAlertWebhook(ctx context.Context, req gen.AlertWebhookRequest) (*gen.AlertWebhookResponse, error)
HandleAlertWebhook provides a mock function with given fields: ctx, req
func (*MockAlertRuleService) UpdateAlertRule ¶
func (_m *MockAlertRuleService) UpdateAlertRule(ctx context.Context, ruleName string, req gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)
UpdateAlertRule provides a mock function with given fields: ctx, ruleName, req
type MockAlertRuleService_CreateAlertRule_Call ¶
MockAlertRuleService_CreateAlertRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAlertRule'
func (*MockAlertRuleService_CreateAlertRule_Call) Return ¶
func (_c *MockAlertRuleService_CreateAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_CreateAlertRule_Call
func (*MockAlertRuleService_CreateAlertRule_Call) Run ¶
func (_c *MockAlertRuleService_CreateAlertRule_Call) Run(run func(ctx context.Context, req gen.AlertRuleRequest)) *MockAlertRuleService_CreateAlertRule_Call
func (*MockAlertRuleService_CreateAlertRule_Call) RunAndReturn ¶
func (_c *MockAlertRuleService_CreateAlertRule_Call) RunAndReturn(run func(context.Context, gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)) *MockAlertRuleService_CreateAlertRule_Call
type MockAlertRuleService_DeleteAlertRule_Call ¶
MockAlertRuleService_DeleteAlertRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlertRule'
func (*MockAlertRuleService_DeleteAlertRule_Call) Return ¶
func (_c *MockAlertRuleService_DeleteAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_DeleteAlertRule_Call
func (*MockAlertRuleService_DeleteAlertRule_Call) Run ¶
func (_c *MockAlertRuleService_DeleteAlertRule_Call) Run(run func(ctx context.Context, ruleName string, sourceType string)) *MockAlertRuleService_DeleteAlertRule_Call
func (*MockAlertRuleService_DeleteAlertRule_Call) RunAndReturn ¶
func (_c *MockAlertRuleService_DeleteAlertRule_Call) RunAndReturn(run func(context.Context, string, string) (*gen.AlertingRuleSyncResponse, error)) *MockAlertRuleService_DeleteAlertRule_Call
type MockAlertRuleService_Expecter ¶
type MockAlertRuleService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAlertRuleService_Expecter) CreateAlertRule ¶
func (_e *MockAlertRuleService_Expecter) CreateAlertRule(ctx interface{}, req interface{}) *MockAlertRuleService_CreateAlertRule_Call
CreateAlertRule is a helper method to define mock.On call
- ctx context.Context
- req gen.AlertRuleRequest
func (*MockAlertRuleService_Expecter) DeleteAlertRule ¶
func (_e *MockAlertRuleService_Expecter) DeleteAlertRule(ctx interface{}, ruleName interface{}, sourceType interface{}) *MockAlertRuleService_DeleteAlertRule_Call
DeleteAlertRule is a helper method to define mock.On call
- ctx context.Context
- ruleName string
- sourceType string
func (*MockAlertRuleService_Expecter) GetAlertRule ¶
func (_e *MockAlertRuleService_Expecter) GetAlertRule(ctx interface{}, ruleName interface{}, sourceType interface{}) *MockAlertRuleService_GetAlertRule_Call
GetAlertRule is a helper method to define mock.On call
- ctx context.Context
- ruleName string
- sourceType string
func (*MockAlertRuleService_Expecter) HandleAlertWebhook ¶
func (_e *MockAlertRuleService_Expecter) HandleAlertWebhook(ctx interface{}, req interface{}) *MockAlertRuleService_HandleAlertWebhook_Call
HandleAlertWebhook is a helper method to define mock.On call
- ctx context.Context
- req gen.AlertWebhookRequest
func (*MockAlertRuleService_Expecter) UpdateAlertRule ¶
func (_e *MockAlertRuleService_Expecter) UpdateAlertRule(ctx interface{}, ruleName interface{}, req interface{}) *MockAlertRuleService_UpdateAlertRule_Call
UpdateAlertRule is a helper method to define mock.On call
- ctx context.Context
- ruleName string
- req gen.AlertRuleRequest
type MockAlertRuleService_GetAlertRule_Call ¶
MockAlertRuleService_GetAlertRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlertRule'
func (*MockAlertRuleService_GetAlertRule_Call) Return ¶
func (_c *MockAlertRuleService_GetAlertRule_Call) Return(_a0 *gen.AlertRuleResponse, _a1 error) *MockAlertRuleService_GetAlertRule_Call
func (*MockAlertRuleService_GetAlertRule_Call) Run ¶
func (_c *MockAlertRuleService_GetAlertRule_Call) Run(run func(ctx context.Context, ruleName string, sourceType string)) *MockAlertRuleService_GetAlertRule_Call
func (*MockAlertRuleService_GetAlertRule_Call) RunAndReturn ¶
func (_c *MockAlertRuleService_GetAlertRule_Call) RunAndReturn(run func(context.Context, string, string) (*gen.AlertRuleResponse, error)) *MockAlertRuleService_GetAlertRule_Call
type MockAlertRuleService_HandleAlertWebhook_Call ¶
MockAlertRuleService_HandleAlertWebhook_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleAlertWebhook'
func (*MockAlertRuleService_HandleAlertWebhook_Call) Return ¶
func (_c *MockAlertRuleService_HandleAlertWebhook_Call) Return(_a0 *gen.AlertWebhookResponse, _a1 error) *MockAlertRuleService_HandleAlertWebhook_Call
func (*MockAlertRuleService_HandleAlertWebhook_Call) Run ¶
func (_c *MockAlertRuleService_HandleAlertWebhook_Call) Run(run func(ctx context.Context, req gen.AlertWebhookRequest)) *MockAlertRuleService_HandleAlertWebhook_Call
func (*MockAlertRuleService_HandleAlertWebhook_Call) RunAndReturn ¶
func (_c *MockAlertRuleService_HandleAlertWebhook_Call) RunAndReturn(run func(context.Context, gen.AlertWebhookRequest) (*gen.AlertWebhookResponse, error)) *MockAlertRuleService_HandleAlertWebhook_Call
type MockAlertRuleService_UpdateAlertRule_Call ¶
MockAlertRuleService_UpdateAlertRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlertRule'
func (*MockAlertRuleService_UpdateAlertRule_Call) Return ¶
func (_c *MockAlertRuleService_UpdateAlertRule_Call) Return(_a0 *gen.AlertingRuleSyncResponse, _a1 error) *MockAlertRuleService_UpdateAlertRule_Call
func (*MockAlertRuleService_UpdateAlertRule_Call) Run ¶
func (_c *MockAlertRuleService_UpdateAlertRule_Call) Run(run func(ctx context.Context, ruleName string, req gen.AlertRuleRequest)) *MockAlertRuleService_UpdateAlertRule_Call
func (*MockAlertRuleService_UpdateAlertRule_Call) RunAndReturn ¶
func (_c *MockAlertRuleService_UpdateAlertRule_Call) RunAndReturn(run func(context.Context, string, gen.AlertRuleRequest) (*gen.AlertingRuleSyncResponse, error)) *MockAlertRuleService_UpdateAlertRule_Call
type MockAlertsQuerier ¶
MockAlertsQuerier is an autogenerated mock type for the AlertsQuerier type
func NewMockAlertsQuerier ¶
func NewMockAlertsQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MockAlertsQuerier
NewMockAlertsQuerier creates a new instance of MockAlertsQuerier. 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 (*MockAlertsQuerier) EXPECT ¶
func (_m *MockAlertsQuerier) EXPECT() *MockAlertsQuerier_Expecter
func (*MockAlertsQuerier) QueryAlerts ¶
func (_m *MockAlertsQuerier) QueryAlerts(ctx context.Context, req gen.AlertsQueryRequest) (*gen.AlertsQueryResponse, error)
QueryAlerts provides a mock function with given fields: ctx, req
type MockAlertsQuerier_Expecter ¶
type MockAlertsQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAlertsQuerier_Expecter) QueryAlerts ¶
func (_e *MockAlertsQuerier_Expecter) QueryAlerts(ctx interface{}, req interface{}) *MockAlertsQuerier_QueryAlerts_Call
QueryAlerts is a helper method to define mock.On call
- ctx context.Context
- req gen.AlertsQueryRequest
type MockAlertsQuerier_QueryAlerts_Call ¶
MockAlertsQuerier_QueryAlerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryAlerts'
func (*MockAlertsQuerier_QueryAlerts_Call) Return ¶
func (_c *MockAlertsQuerier_QueryAlerts_Call) Return(_a0 *gen.AlertsQueryResponse, _a1 error) *MockAlertsQuerier_QueryAlerts_Call
func (*MockAlertsQuerier_QueryAlerts_Call) Run ¶
func (_c *MockAlertsQuerier_QueryAlerts_Call) Run(run func(ctx context.Context, req gen.AlertsQueryRequest)) *MockAlertsQuerier_QueryAlerts_Call
func (*MockAlertsQuerier_QueryAlerts_Call) RunAndReturn ¶
func (_c *MockAlertsQuerier_QueryAlerts_Call) RunAndReturn(run func(context.Context, gen.AlertsQueryRequest) (*gen.AlertsQueryResponse, error)) *MockAlertsQuerier_QueryAlerts_Call
type MockHealthChecker ¶
MockHealthChecker is an autogenerated mock type for the HealthChecker type
func NewMockHealthChecker ¶
func NewMockHealthChecker(t interface {
mock.TestingT
Cleanup(func())
}) *MockHealthChecker
NewMockHealthChecker creates a new instance of MockHealthChecker. 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 (*MockHealthChecker) Check ¶
func (_m *MockHealthChecker) Check(ctx context.Context) error
Check provides a mock function with given fields: ctx
func (*MockHealthChecker) EXPECT ¶
func (_m *MockHealthChecker) EXPECT() *MockHealthChecker_Expecter
type MockHealthChecker_Check_Call ¶
MockHealthChecker_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*MockHealthChecker_Check_Call) Return ¶
func (_c *MockHealthChecker_Check_Call) Return(_a0 error) *MockHealthChecker_Check_Call
func (*MockHealthChecker_Check_Call) Run ¶
func (_c *MockHealthChecker_Check_Call) Run(run func(ctx context.Context)) *MockHealthChecker_Check_Call
func (*MockHealthChecker_Check_Call) RunAndReturn ¶
func (_c *MockHealthChecker_Check_Call) RunAndReturn(run func(context.Context) error) *MockHealthChecker_Check_Call
type MockHealthChecker_Expecter ¶
type MockHealthChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockHealthChecker_Expecter) Check ¶
func (_e *MockHealthChecker_Expecter) Check(ctx interface{}) *MockHealthChecker_Check_Call
Check is a helper method to define mock.On call
- ctx context.Context
type MockIncidentsQuerier ¶
MockIncidentsQuerier is an autogenerated mock type for the IncidentsQuerier type
func NewMockIncidentsQuerier ¶
func NewMockIncidentsQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MockIncidentsQuerier
NewMockIncidentsQuerier creates a new instance of MockIncidentsQuerier. 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 (*MockIncidentsQuerier) EXPECT ¶
func (_m *MockIncidentsQuerier) EXPECT() *MockIncidentsQuerier_Expecter
func (*MockIncidentsQuerier) QueryIncidents ¶
func (_m *MockIncidentsQuerier) QueryIncidents(ctx context.Context, req gen.IncidentsQueryRequest) (*gen.IncidentsQueryResponse, error)
QueryIncidents provides a mock function with given fields: ctx, req
type MockIncidentsQuerier_Expecter ¶
type MockIncidentsQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockIncidentsQuerier_Expecter) QueryIncidents ¶
func (_e *MockIncidentsQuerier_Expecter) QueryIncidents(ctx interface{}, req interface{}) *MockIncidentsQuerier_QueryIncidents_Call
QueryIncidents is a helper method to define mock.On call
- ctx context.Context
- req gen.IncidentsQueryRequest
type MockIncidentsQuerier_QueryIncidents_Call ¶
MockIncidentsQuerier_QueryIncidents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryIncidents'
func (*MockIncidentsQuerier_QueryIncidents_Call) Return ¶
func (_c *MockIncidentsQuerier_QueryIncidents_Call) Return(_a0 *gen.IncidentsQueryResponse, _a1 error) *MockIncidentsQuerier_QueryIncidents_Call
func (*MockIncidentsQuerier_QueryIncidents_Call) Run ¶
func (_c *MockIncidentsQuerier_QueryIncidents_Call) Run(run func(ctx context.Context, req gen.IncidentsQueryRequest)) *MockIncidentsQuerier_QueryIncidents_Call
func (*MockIncidentsQuerier_QueryIncidents_Call) RunAndReturn ¶
func (_c *MockIncidentsQuerier_QueryIncidents_Call) RunAndReturn(run func(context.Context, gen.IncidentsQueryRequest) (*gen.IncidentsQueryResponse, error)) *MockIncidentsQuerier_QueryIncidents_Call
type MockIncidentsUpdater ¶
MockIncidentsUpdater is an autogenerated mock type for the IncidentsUpdater type
func NewMockIncidentsUpdater ¶
func NewMockIncidentsUpdater(t interface {
mock.TestingT
Cleanup(func())
}) *MockIncidentsUpdater
NewMockIncidentsUpdater creates a new instance of MockIncidentsUpdater. 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 (*MockIncidentsUpdater) EXPECT ¶
func (_m *MockIncidentsUpdater) EXPECT() *MockIncidentsUpdater_Expecter
func (*MockIncidentsUpdater) UpdateIncident ¶
func (_m *MockIncidentsUpdater) UpdateIncident(ctx context.Context, incidentID string, req gen.IncidentPutRequest) (*gen.IncidentPutResponse, error)
UpdateIncident provides a mock function with given fields: ctx, incidentID, req
type MockIncidentsUpdater_Expecter ¶
type MockIncidentsUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*MockIncidentsUpdater_Expecter) UpdateIncident ¶
func (_e *MockIncidentsUpdater_Expecter) UpdateIncident(ctx interface{}, incidentID interface{}, req interface{}) *MockIncidentsUpdater_UpdateIncident_Call
UpdateIncident is a helper method to define mock.On call
- ctx context.Context
- incidentID string
- req gen.IncidentPutRequest
type MockIncidentsUpdater_UpdateIncident_Call ¶
MockIncidentsUpdater_UpdateIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIncident'
func (*MockIncidentsUpdater_UpdateIncident_Call) Return ¶
func (_c *MockIncidentsUpdater_UpdateIncident_Call) Return(_a0 *gen.IncidentPutResponse, _a1 error) *MockIncidentsUpdater_UpdateIncident_Call
func (*MockIncidentsUpdater_UpdateIncident_Call) Run ¶
func (_c *MockIncidentsUpdater_UpdateIncident_Call) Run(run func(ctx context.Context, incidentID string, req gen.IncidentPutRequest)) *MockIncidentsUpdater_UpdateIncident_Call
func (*MockIncidentsUpdater_UpdateIncident_Call) RunAndReturn ¶
func (_c *MockIncidentsUpdater_UpdateIncident_Call) RunAndReturn(run func(context.Context, string, gen.IncidentPutRequest) (*gen.IncidentPutResponse, error)) *MockIncidentsUpdater_UpdateIncident_Call
type MockLogsQuerier ¶
MockLogsQuerier is an autogenerated mock type for the LogsQuerier type
func NewMockLogsQuerier ¶
func NewMockLogsQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MockLogsQuerier
NewMockLogsQuerier creates a new instance of MockLogsQuerier. 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 (*MockLogsQuerier) EXPECT ¶
func (_m *MockLogsQuerier) EXPECT() *MockLogsQuerier_Expecter
func (*MockLogsQuerier) QueryLogs ¶
func (_m *MockLogsQuerier) QueryLogs(ctx context.Context, req *types.LogsQueryRequest) (*types.LogsQueryResponse, error)
QueryLogs provides a mock function with given fields: ctx, req
type MockLogsQuerier_Expecter ¶
type MockLogsQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogsQuerier_Expecter) QueryLogs ¶
func (_e *MockLogsQuerier_Expecter) QueryLogs(ctx interface{}, req interface{}) *MockLogsQuerier_QueryLogs_Call
QueryLogs is a helper method to define mock.On call
- ctx context.Context
- req *types.LogsQueryRequest
type MockLogsQuerier_QueryLogs_Call ¶
MockLogsQuerier_QueryLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryLogs'
func (*MockLogsQuerier_QueryLogs_Call) Return ¶
func (_c *MockLogsQuerier_QueryLogs_Call) Return(_a0 *types.LogsQueryResponse, _a1 error) *MockLogsQuerier_QueryLogs_Call
func (*MockLogsQuerier_QueryLogs_Call) Run ¶
func (_c *MockLogsQuerier_QueryLogs_Call) Run(run func(ctx context.Context, req *types.LogsQueryRequest)) *MockLogsQuerier_QueryLogs_Call
func (*MockLogsQuerier_QueryLogs_Call) RunAndReturn ¶
func (_c *MockLogsQuerier_QueryLogs_Call) RunAndReturn(run func(context.Context, *types.LogsQueryRequest) (*types.LogsQueryResponse, error)) *MockLogsQuerier_QueryLogs_Call
type MockMetricsQuerier ¶
MockMetricsQuerier is an autogenerated mock type for the MetricsQuerier type
func NewMockMetricsQuerier ¶
func NewMockMetricsQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MockMetricsQuerier
NewMockMetricsQuerier creates a new instance of MockMetricsQuerier. 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 (*MockMetricsQuerier) EXPECT ¶
func (_m *MockMetricsQuerier) EXPECT() *MockMetricsQuerier_Expecter
func (*MockMetricsQuerier) QueryMetrics ¶
func (_m *MockMetricsQuerier) QueryMetrics(ctx context.Context, req *types.MetricsQueryRequest) (interface{}, error)
QueryMetrics provides a mock function with given fields: ctx, req
func (*MockMetricsQuerier) QueryRuntimeTopology ¶
func (_m *MockMetricsQuerier) QueryRuntimeTopology(ctx context.Context, req *types.RuntimeTopologyRequest) (*types.RuntimeTopologyResponse, error)
QueryRuntimeTopology provides a mock function with given fields: ctx, req
type MockMetricsQuerier_Expecter ¶
type MockMetricsQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMetricsQuerier_Expecter) QueryMetrics ¶
func (_e *MockMetricsQuerier_Expecter) QueryMetrics(ctx interface{}, req interface{}) *MockMetricsQuerier_QueryMetrics_Call
QueryMetrics is a helper method to define mock.On call
- ctx context.Context
- req *types.MetricsQueryRequest
func (*MockMetricsQuerier_Expecter) QueryRuntimeTopology ¶
func (_e *MockMetricsQuerier_Expecter) QueryRuntimeTopology(ctx interface{}, req interface{}) *MockMetricsQuerier_QueryRuntimeTopology_Call
QueryRuntimeTopology is a helper method to define mock.On call
- ctx context.Context
- req *types.RuntimeTopologyRequest
type MockMetricsQuerier_QueryMetrics_Call ¶
MockMetricsQuerier_QueryMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryMetrics'
func (*MockMetricsQuerier_QueryMetrics_Call) Return ¶
func (_c *MockMetricsQuerier_QueryMetrics_Call) Return(_a0 interface{}, _a1 error) *MockMetricsQuerier_QueryMetrics_Call
func (*MockMetricsQuerier_QueryMetrics_Call) Run ¶
func (_c *MockMetricsQuerier_QueryMetrics_Call) Run(run func(ctx context.Context, req *types.MetricsQueryRequest)) *MockMetricsQuerier_QueryMetrics_Call
func (*MockMetricsQuerier_QueryMetrics_Call) RunAndReturn ¶
func (_c *MockMetricsQuerier_QueryMetrics_Call) RunAndReturn(run func(context.Context, *types.MetricsQueryRequest) (interface{}, error)) *MockMetricsQuerier_QueryMetrics_Call
type MockMetricsQuerier_QueryRuntimeTopology_Call ¶
MockMetricsQuerier_QueryRuntimeTopology_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRuntimeTopology'
func (*MockMetricsQuerier_QueryRuntimeTopology_Call) Return ¶
func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) Return(_a0 *types.RuntimeTopologyResponse, _a1 error) *MockMetricsQuerier_QueryRuntimeTopology_Call
func (*MockMetricsQuerier_QueryRuntimeTopology_Call) Run ¶
func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) Run(run func(ctx context.Context, req *types.RuntimeTopologyRequest)) *MockMetricsQuerier_QueryRuntimeTopology_Call
func (*MockMetricsQuerier_QueryRuntimeTopology_Call) RunAndReturn ¶
func (_c *MockMetricsQuerier_QueryRuntimeTopology_Call) RunAndReturn(run func(context.Context, *types.RuntimeTopologyRequest) (*types.RuntimeTopologyResponse, error)) *MockMetricsQuerier_QueryRuntimeTopology_Call
type MockTracesQuerier ¶
MockTracesQuerier is an autogenerated mock type for the TracesQuerier type
func NewMockTracesQuerier ¶
func NewMockTracesQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MockTracesQuerier
NewMockTracesQuerier creates a new instance of MockTracesQuerier. 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 (*MockTracesQuerier) EXPECT ¶
func (_m *MockTracesQuerier) EXPECT() *MockTracesQuerier_Expecter
func (*MockTracesQuerier) GetSpanDetails ¶
func (_m *MockTracesQuerier) GetSpanDetails(ctx context.Context, traceID string, spanID string) (*types.SpanInfo, error)
GetSpanDetails provides a mock function with given fields: ctx, traceID, spanID
func (*MockTracesQuerier) QuerySpans ¶
func (_m *MockTracesQuerier) QuerySpans(ctx context.Context, traceID string, req *types.TracesQueryRequest) (*types.SpansQueryResponse, error)
QuerySpans provides a mock function with given fields: ctx, traceID, req
func (*MockTracesQuerier) QueryTraces ¶
func (_m *MockTracesQuerier) QueryTraces(ctx context.Context, req *types.TracesQueryRequest) (*types.TracesQueryResponse, error)
QueryTraces provides a mock function with given fields: ctx, req
type MockTracesQuerier_Expecter ¶
type MockTracesQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTracesQuerier_Expecter) GetSpanDetails ¶
func (_e *MockTracesQuerier_Expecter) GetSpanDetails(ctx interface{}, traceID interface{}, spanID interface{}) *MockTracesQuerier_GetSpanDetails_Call
GetSpanDetails is a helper method to define mock.On call
- ctx context.Context
- traceID string
- spanID string
func (*MockTracesQuerier_Expecter) QuerySpans ¶
func (_e *MockTracesQuerier_Expecter) QuerySpans(ctx interface{}, traceID interface{}, req interface{}) *MockTracesQuerier_QuerySpans_Call
QuerySpans is a helper method to define mock.On call
- ctx context.Context
- traceID string
- req *types.TracesQueryRequest
func (*MockTracesQuerier_Expecter) QueryTraces ¶
func (_e *MockTracesQuerier_Expecter) QueryTraces(ctx interface{}, req interface{}) *MockTracesQuerier_QueryTraces_Call
QueryTraces is a helper method to define mock.On call
- ctx context.Context
- req *types.TracesQueryRequest
type MockTracesQuerier_GetSpanDetails_Call ¶
MockTracesQuerier_GetSpanDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSpanDetails'
func (*MockTracesQuerier_GetSpanDetails_Call) Return ¶
func (_c *MockTracesQuerier_GetSpanDetails_Call) Return(_a0 *types.SpanInfo, _a1 error) *MockTracesQuerier_GetSpanDetails_Call
func (*MockTracesQuerier_GetSpanDetails_Call) Run ¶
func (_c *MockTracesQuerier_GetSpanDetails_Call) Run(run func(ctx context.Context, traceID string, spanID string)) *MockTracesQuerier_GetSpanDetails_Call
func (*MockTracesQuerier_GetSpanDetails_Call) RunAndReturn ¶
func (_c *MockTracesQuerier_GetSpanDetails_Call) RunAndReturn(run func(context.Context, string, string) (*types.SpanInfo, error)) *MockTracesQuerier_GetSpanDetails_Call
type MockTracesQuerier_QuerySpans_Call ¶
MockTracesQuerier_QuerySpans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QuerySpans'
func (*MockTracesQuerier_QuerySpans_Call) Return ¶
func (_c *MockTracesQuerier_QuerySpans_Call) Return(_a0 *types.SpansQueryResponse, _a1 error) *MockTracesQuerier_QuerySpans_Call
func (*MockTracesQuerier_QuerySpans_Call) Run ¶
func (_c *MockTracesQuerier_QuerySpans_Call) Run(run func(ctx context.Context, traceID string, req *types.TracesQueryRequest)) *MockTracesQuerier_QuerySpans_Call
func (*MockTracesQuerier_QuerySpans_Call) RunAndReturn ¶
func (_c *MockTracesQuerier_QuerySpans_Call) RunAndReturn(run func(context.Context, string, *types.TracesQueryRequest) (*types.SpansQueryResponse, error)) *MockTracesQuerier_QuerySpans_Call
type MockTracesQuerier_QueryTraces_Call ¶
MockTracesQuerier_QueryTraces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryTraces'
func (*MockTracesQuerier_QueryTraces_Call) Return ¶
func (_c *MockTracesQuerier_QueryTraces_Call) Return(_a0 *types.TracesQueryResponse, _a1 error) *MockTracesQuerier_QueryTraces_Call
func (*MockTracesQuerier_QueryTraces_Call) Run ¶
func (_c *MockTracesQuerier_QueryTraces_Call) Run(run func(ctx context.Context, req *types.TracesQueryRequest)) *MockTracesQuerier_QueryTraces_Call
func (*MockTracesQuerier_QueryTraces_Call) RunAndReturn ¶
func (_c *MockTracesQuerier_QueryTraces_Call) RunAndReturn(run func(context.Context, *types.TracesQueryRequest) (*types.TracesQueryResponse, error)) *MockTracesQuerier_QueryTraces_Call