S3ClientInterface define interface of s3.Client for making mocking s3 client and testing it
| 17 | |
| 18 | // S3ClientInterface define interface of s3.Client for making mocking s3 client and testing it |
| 19 | type S3ClientInterface interface { |
| 20 | GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error) |
| 21 | DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error) |
| 22 | } |
| 23 | |
| 24 | // A S3RegistryStore is a S3 object storage-based implementation of the RegistryStore interface |
| 25 | type S3RegistryStore struct { |
no outgoing calls
no test coverage detected