MCPcopy
hub / github.com/grafana/grafana / NoopIAMRolesSyncer

Struct NoopIAMRolesSyncer

pkg/services/accesscontrol/noop_iam_roles_syncer.go:19–21  ·  view source on GitHub ↗

NoopIAMRolesSyncer is a no-op implementation of the IAM roles syncer for OSS builds. It is always disabled so the module manager registers an empty module that resolves immediately, satisfying the FixedRolesLoader dependency. Enterprise provides the real implementation via Wire which overwrites this

Source from the content-addressed store, hash-verified

17// Enterprise provides the real implementation via Wire which overwrites this
18// module in the dskit module manager.
19type NoopIAMRolesSyncer struct {
20 services.NamedService
21}
22
23func ProvideNoopIAMRolesSyncer() *NoopIAMRolesSyncer {
24 s := &NoopIAMRolesSyncer{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected