MCPcopy Index your code
hub / github.com/cortexproject/cortex / Client

Struct Client

integration/e2ecortex/client.go:47–58  ·  view source on GitHub ↗

Client is a client used to interact with Cortex in integration tests

Source from the content-addressed store, hash-verified

45
46// Client is a client used to interact with Cortex in integration tests
47type 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
61func NewClient(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected