NilPeer and NilChannel implements the Alertmanager clustering interface used by the API to expose cluster information. In a multi-tenant environment, we choose not to expose these to tenants and thus are not implemented.
| 651 | // NilPeer and NilChannel implements the Alertmanager clustering interface used by the API to expose cluster information. |
| 652 | // In a multi-tenant environment, we choose not to expose these to tenants and thus are not implemented. |
| 653 | type NilPeer struct{} |
| 654 | |
| 655 | func (p *NilPeer) Name() string { return "" } |
| 656 | func (p *NilPeer) Status() string { return "ready" } |
nothing calls this directly
no outgoing calls
no test coverage detected