Documentation ¶
Index ¶
- type API
- func (a API) DeleteObject(options *DeleteObjectOptions) (*s3.DeleteObjectOutput, error)
- func (a API) GetObject(options *GetObjectOptions) (*s3.GetObjectOutput, error)
- func (a API) ListObjectVersions(options *ListObjectVersionsOptions) (*s3.ListObjectVersionsOutput, error)
- func (a API) ListObjects(options *ListObjectOptions) (*s3.ListObjectsV2Output, error)
- func (a API) PutObject(options *PutObjectOptions) (*s3.PutObjectOutput, error)
- type DeleteObjectOptions
- type GetObjectOptions
- type Interface
- type ListObjectOptions
- type ListObjectVersionsOptions
- type PutObjectOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is main struct of S3.
func (API) DeleteObject ¶
func (a API) DeleteObject(options *DeleteObjectOptions) (*s3.DeleteObjectOutput, error)
DeleteObject deletes object from S3.
func (API) GetObject ¶
func (a API) GetObject(options *GetObjectOptions) (*s3.GetObjectOutput, error)
GetObject gets object from S3.
func (API) ListObjectVersions ¶
func (a API) ListObjectVersions(options *ListObjectVersionsOptions) (*s3.ListObjectVersionsOutput, error)
ListObjectVersions gets object versions from S3.
func (API) ListObjects ¶
func (a API) ListObjects(options *ListObjectOptions) (*s3.ListObjectsV2Output, error)
ListObjects gets object from S3.
func (API) PutObject ¶
func (a API) PutObject(options *PutObjectOptions) (*s3.PutObjectOutput, error)
PutObject puts object to S3.
type DeleteObjectOptions ¶
type DeleteObjectOptions struct { Bucket, Path string }
DeleteObjectOptions is options for API call.
type GetObjectOptions ¶
GetObjectOptions is options for API call.
type Interface ¶
type Interface interface { GetObject(options *GetObjectOptions) (*s3.GetObjectOutput, error) ListObjectVersions(options *ListObjectVersionsOptions) (*s3.ListObjectVersionsOutput, error) ListObjects(options *ListObjectOptions) (*s3.ListObjectsV2Output, error) PutObject(options *PutObjectOptions) (*s3.PutObjectOutput, error) DeleteObject(options *DeleteObjectOptions) (*s3.DeleteObjectOutput, error) }
Interface is an interface for API.
type ListObjectOptions ¶
type ListObjectOptions struct { Bucket, Path string }
ListObjectOptions is options for API call.
type ListObjectVersionsOptions ¶
type ListObjectVersionsOptions struct { Bucket, Path string }
ListObjectVersionsOptions is options for API call.
Click to show internal directories.
Click to hide internal directories.