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
| 17 | // Enterprise provides the real implementation via Wire which overwrites this |
| 18 | // module in the dskit module manager. |
| 19 | type NoopIAMRolesSyncer struct { |
| 20 | services.NamedService |
| 21 | } |
| 22 | |
| 23 | func ProvideNoopIAMRolesSyncer() *NoopIAMRolesSyncer { |
| 24 | s := &NoopIAMRolesSyncer{} |
nothing calls this directly
no outgoing calls
no test coverage detected