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

Method GetAllConfigs

pkg/configs/db/traced.go:32–35  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

30}
31
32func (t traced) GetAllConfigs(ctx context.Context) (cfgs map[string]userconfig.View, err error) {
33 defer func() { t.trace("GetAllConfigs", cfgs, err) }()
34 return t.d.GetAllConfigs(ctx)
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) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
GetAllConfigsMethod · 0.65

Tested by

no test coverage detected