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

Method GetRulesConfigs

pkg/configs/db/db.go:48–48  ·  view source on GitHub ↗

GetRulesConfigs gets all of the configs that have been added or have changed since the provided config.

(ctx context.Context, since userconfig.ID)

Source from the content-addressed store, hash-verified

46 // GetRulesConfigs gets all of the configs that have been added or have
47 // changed since the provided config.
48 GetRulesConfigs(ctx context.Context, since userconfig.ID) (map[string]userconfig.VersionedRulesConfig, error)
49
50 GetConfig(ctx context.Context, userID string) (userconfig.View, error)
51 SetConfig(ctx context.Context, userID string, cfg userconfig.Config) error

Callers 2

GetRulesConfigsMethod · 0.65
GetRulesConfigsMethod · 0.65

Implementers 4

timedpkg/configs/db/timed.go
tracedpkg/configs/db/traced.go
DBpkg/configs/db/postgres/postgres.go
DBpkg/configs/db/memory/memory.go

Calls

no outgoing calls

Tested by

no test coverage detected