Documentation ¶
Overview ¶
Package s3 handles interactions with aws-sdk-go/service/s3
Index ¶
Constants ¶
View Source
const (
// ErrEmptyParameter is used when a required parameter is empty
ErrEmptyParameter = "EmptyParameter"
)
Variables ¶
This section is empty.
Functions ¶
func UnmarshalIOReadCloser ¶
func UnmarshalIOReadCloser(input io.ReadCloser) ([]byte, error)
UnmarshalIOReadCloser extracts []byte from input.Body
Types ¶
type GetObjectInput ¶
type GetObjectInput struct {
*s3.GetObjectInput
}
GetObjectInput embeds *s3.GetObjectInput
func NewGetObjectInput ¶
func NewGetObjectInput(bucket, source string) (*GetObjectInput, error)
NewGetObjectInput returns a new *GetObjectInput given a bucket and a source image
type GetObjectOutput ¶
type GetObjectOutput struct {
*s3.GetObjectOutput
}
GetObjectOutput embeds *s3.GetObjectOutput
type S3 ¶
S3 embeds *s3.S3 to be used to call New
func (*S3) S3GetObject ¶
func (svc *S3) S3GetObject(input *GetObjectInput) (*GetObjectOutput, error)
S3GetObject retrieves an object from S3 given a GetObjectInput
Click to show internal directories.
Click to hide internal directories.