Documentation ¶
Index ¶
- type S3
- type S3Client
- func (c *S3Client) GetObject(ctx context.Context, bucket, key string) (*s3.GetObjectResponse, error)
- func (c *S3Client) HeadBucket(bucket string) error
- func (c *S3Client) HeadObject(bucket, key string) error
- func (c *S3Client) ListObjects(ctx context.Context, bucket string, prefix string) <-chan string
- func (c *S3Client) PutObject(ctx context.Context, bucket, key string, body io.ReadSeeker) (*s3.PutObjectResponse, error)
- func (c *S3Client) Upload(ctx context.Context, bucket, key string, body io.Reader) (*s3manager.UploadOutput, error)
- type S3URI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) ListFolder ¶
func (s *S3) ListFolder()
func (*S3) SetUriAndValidate ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func MustNewS3Client ¶
func MustNewS3Client() *S3Client
func NewS3Client ¶
func NewS3ClientForMock ¶
func NewS3ClientForMock( svc s3iface.ClientAPI, uploader s3manageriface.UploaderAPI, ) *S3Client
func (*S3Client) HeadBucket ¶
func (*S3Client) HeadObject ¶
func (*S3Client) ListObjects ¶
Click to show internal directories.
Click to hide internal directories.