MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / GetSystemInformation

Method GetSystemInformation

diagnostic/client.go:138–145  ·  view source on GitHub ↗
(ctx context.Context, writer io.Writer)

Source from the content-addressed store, hash-verified

136}
137
138func (client *httpClient) GetSystemInformation(ctx context.Context, writer io.Writer) error {
139 response, err := client.GET(ctx, systemInformationEndpoint)
140 if err != nil {
141 return err
142 }
143
144 return copyJSONToWriter(response, writer)
145}
146
147func (client *httpClient) GetMetrics(ctx context.Context, writer io.Writer) error {
148 response, err := client.GET(ctx, metricsEndpoint)

Callers

nothing calls this directly

Calls 2

GETMethod · 0.95
copyJSONToWriterFunction · 0.85

Tested by

no test coverage detected