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

Method OrganizationResolver

coderd/runtimeconfig/manager.go:26–28  ·  view source on GitHub ↗

OrganizationResolver will namespace all runtime configuration to the provided organization ID. Configuration values stored with a given organization ID require that the organization ID be provided to retrieve the value. No values set here will ever be returned by the call to 'Resolver()'.

(db Store, orgID uuid.UUID)

Source from the content-addressed store, hash-verified

24// that the organization ID be provided to retrieve the value.
25// No values set here will ever be returned by the call to 'Resolver()'.
26func (*Manager) OrganizationResolver(db Store, orgID uuid.UUID) Resolver {
27 return OrganizationResolver(orgID, NewStoreResolver(db))
28}

Callers 6

SetupOrganizationFunction · 0.95
GroupSyncSettingsMethod · 0.80
RoleSyncSettingsMethod · 0.80

Calls 2

OrganizationResolverFunction · 0.85
NewStoreResolverFunction · 0.85

Tested by 1

SetupOrganizationFunction · 0.76