Documentation ¶ Index ¶ type Bucket type PutObject func (p *PutObject) Close() error func (p *PutObject) Write(b []byte) (int, error) type S3 func NewS3(repo S3Repo) *S3 func (s *S3) NewPushData(ctx context.Context, bucket Bucket, objectName string) (*PutObject, error) type S3Repo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bucket ¶ type Bucket int const ( BucketUnspecified Bucket = iota BucketDefault ) type PutObject ¶ type PutObject struct { // contains filtered or unexported fields } func (*PutObject) Close ¶ func (p *PutObject) Close() error func (*PutObject) Write ¶ func (p *PutObject) Write(b []byte) (int, error) type S3 ¶ type S3 struct { // contains filtered or unexported fields } func NewS3 ¶ func NewS3(repo S3Repo) *S3 func (*S3) NewPushData ¶ func (s *S3) NewPushData(ctx context.Context, bucket Bucket, objectName string) (*PutObject, error) type S3Repo ¶ type S3Repo interface { PutObject(context.Context, io.Reader, Bucket, string) error } Source Files ¶ View all Source files s3.go Click to show internal directories. Click to hide internal directories.