Client is a client used to interact with Cortex in integration tests
| 45 | |
| 46 | // Client is a client used to interact with Cortex in integration tests |
| 47 | type Client struct { |
| 48 | alertmanagerClient promapi.Client |
| 49 | querierAddress string |
| 50 | alertmanagerAddress string |
| 51 | rulerAddress string |
| 52 | distributorAddress string |
| 53 | timeout time.Duration |
| 54 | httpClient *http.Client |
| 55 | remoteWriteAPI *remoteapi.API |
| 56 | querierClient promv1.API |
| 57 | orgID string |
| 58 | } |
| 59 | |
| 60 | // NewClient makes a new Cortex client |
| 61 | func NewClient( |
nothing calls this directly
no outgoing calls
no test coverage detected