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

Method snapshot

controlplane/runtime_tracker_test.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (f *fakeRuntimeInstanceStore) snapshot() []configstore.ControlPlaneInstance {
32 f.mu.Lock()
33 defer f.mu.Unlock()
34 out := make([]configstore.ControlPlaneInstance, len(f.records))
35 copy(out, f.records)
36 return out
37}
38
39func (f *fakeRuntimeInstanceStore) waitForUpserts(t *testing.T, count int, timeout time.Duration) {
40 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected