MCPcopy Create free account
hub / github.com/PostHog/duckgres / Read

Method Read

cmd/cache-proxy/cache_test.go:43–50  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

41 t.Fatalf("read gauge: %v", err)
42 }
43 return m.GetGauge().GetValue()
44}
45
46func histogramSampleCount(t *testing.T, h prometheus.Histogram) uint64 {
47 t.Helper()
48 var m dto.Metric
49 if err := h.Write(&m); err != nil {
50 t.Fatalf("read histogram: %v", err)
51 }
52 return m.GetHistogram().GetSampleCount()
53}

Callers 11

generateTokenFunction · 0.45
SetupMultiTenantFunction · 0.45
readStartupFromRawFunction · 0.45
fullReadFunction · 0.45
generateBearerTokenFunction · 0.45
GeneratePasswordFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected