Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(cfg *config.Config) (*storage.Repository, error)
Types ¶
type S3Repository ¶
type S3Repository struct {
// contains filtered or unexported fields
}
func NewS3Repository ¶
func NewS3Repository(cfg *S3RepoCfg) (*S3Repository, error)
func (*S3Repository) BucketExists ¶
func (s *S3Repository) BucketExists(ctx context.Context) (bool, error)
func (*S3Repository) GetObject ¶
func (s *S3Repository) GetObject(ctx context.Context, objName string) (io.ReadSeekCloser, error)
Click to show internal directories.
Click to hide internal directories.