MCPcopy Create free account
hub / github.com/cortexproject/cortex / mockAlertmanagerClientFactory

Struct mockAlertmanagerClientFactory

pkg/alertmanager/distributor_test.go:459–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459type mockAlertmanagerClientFactory struct {
460 alertmanagerByAddr map[string]*mockAlertmanager
461}
462
463func newMockAlertmanagerClientFactory(alertmanagerByAddr map[string]*mockAlertmanager) ClientsPool {
464 return &mockAlertmanagerClientFactory{alertmanagerByAddr: alertmanagerByAddr}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected