MCPcopy Index your code
hub / github.com/coder/coder / NewStoreResolver

Function NewStoreResolver

coderd/runtimeconfig/resolver.go:45–47  ·  view source on GitHub ↗
(db Store)

Source from the content-addressed store, hash-verified

43}
44
45func NewStoreResolver(db Store) *StoreResolver {
46 return &StoreResolver{db: db}
47}
48
49func (m StoreResolver) GetRuntimeConfig(ctx context.Context, key string) (string, error) {
50 val, err := m.db.GetRuntimeConfig(ctx, key)

Callers 3

TestGetGroupSyncSettingsFunction · 0.92
ResolverMethod · 0.85
OrganizationResolverMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestGetGroupSyncSettingsFunction · 0.74