MCPcopy Create free account
hub / github.com/cortexproject/cortex / GetConfigs

Method GetConfigs

pkg/configs/db/traced.go:37–40  ·  view source on GitHub ↗
(ctx context.Context, since userconfig.ID)

Source from the content-addressed store, hash-verified

35}
36
37func (t traced) GetConfigs(ctx context.Context, since userconfig.ID) (cfgs map[string]userconfig.View, err error) {
38 defer func() { t.trace("GetConfigs", since, cfgs, err) }()
39 return t.d.GetConfigs(ctx, since)
40}
41
42func (t traced) DeactivateConfig(ctx context.Context, userID string) (err error) {
43 defer func() { t.trace("DeactivateConfig", userID, err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
GetConfigsMethod · 0.65

Tested by

no test coverage detected