Documentation ¶
Index ¶
- type S3API
- func (a S3API) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
- func (a S3API) DeleteObjects(input *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error)
- func (a S3API) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
- func (a S3API) ListObjectVersions(input *s3.ListObjectVersionsInput) (*s3.ListObjectVersionsOutput, error)
- func (a S3API) ListObjects(input *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)
- func (a S3API) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
- type S3Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3API ¶ added in v0.3.0
S3API is main struct of S3.
func (S3API) DeleteObject ¶ added in v0.3.0
func (a S3API) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
DeleteObject deletes object from S3.
func (S3API) DeleteObjects ¶ added in v0.3.0
func (a S3API) DeleteObjects(input *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error)
DeleteObjects deletes object from S3.
func (S3API) GetObject ¶ added in v0.3.0
func (a S3API) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
GetObject gets object from S3.
func (S3API) ListObjectVersions ¶ added in v0.3.0
func (a S3API) ListObjectVersions(input *s3.ListObjectVersionsInput) (*s3.ListObjectVersionsOutput, error)
ListObjectVersions gets object versions from S3.
func (S3API) ListObjects ¶ added in v0.3.0
func (a S3API) ListObjects(input *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)
ListObjects gets object from S3.
func (S3API) PutObject ¶ added in v0.3.0
func (a S3API) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
PutObject puts object to S3.
type S3Interface ¶
type S3Interface interface { GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error) ListObjectVersions(input *s3.ListObjectVersionsInput) (*s3.ListObjectVersionsOutput, error) ListObjects(input *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error) DeleteObjects(input *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) }
S3Interface is an interface for S3API.
Click to show internal directories.
Click to hide internal directories.