* Providers returns a set of dependencies providers related to S3. It includes the s3 Manager, the Maker and exported configurations. Depends On: log.Logger contract.ConfigAccessor opentracing.Tracer `optional:"true"` contract.DIPopulator `optional:"true"` Provide: Factory Maker *Man
(optionFunc ...ProvidersOptionFunc)
| 28 | Uploader |
| 29 | */ |
| 30 | func Providers(optionFunc ...ProvidersOptionFunc) di.Deps { |
| 31 | option := providersOption{ |
| 32 | ctor: newManager, |
| 33 | } |
| 34 | for _, f := range optionFunc { |
| 35 | f(&option) |
| 36 | } |
| 37 | return di.Deps{provideFactory(&option), provideManager, provideConfig} |
| 38 | } |
| 39 | |
| 40 | // Uploader models UploadService |
| 41 | type Uploader interface { |
nothing calls this directly
no test coverage detected