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

Function GetRequest

integration/e2e/util.go:86–91  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

84}
85
86func GetRequest(url string) (*http.Response, error) {
87 const timeout = 1 * time.Second
88
89 client := &http.Client{Timeout: timeout}
90 return client.Get(url)
91}
92
93func PostRequest(url string) (*http.Response, error) {
94 const timeout = 1 * time.Second

Callers 6

getRuntimeConfigFunction · 0.92
TestIndexAPIEndpointFunction · 0.92
TestConfigAPIEndpointFunction · 0.92
ReadyMethod · 0.85
MetricsMethod · 0.85

Calls 1

GetMethod · 0.95

Tested by 4

getRuntimeConfigFunction · 0.74
TestIndexAPIEndpointFunction · 0.74
TestConfigAPIEndpointFunction · 0.74