Documentation
¶
Overview ¶
Package s3util includes functions for interacting with AWS s3.
Index ¶
- func CheckBucket(bucket string) error
- func CheckKey(prefix string) error
- func CheckKeyPrefix(prefix string) error
- func CheckPath(path string) error
- func Count(it *Iterator) (int, error)
- func Download(input *DownloadInput) error
- func Upload(input *UploadInput) error
- type BucketError
- type DownloadInput
- type Iterator
- type KeyError
- type KeyPrefixError
- type NewIteratorInput
- type PathError
- type UploadInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBucket ¶
func CheckKeyPrefix ¶
func Download ¶
func Download(input *DownloadInput) error
func Upload ¶
func Upload(input *UploadInput) error
Types ¶
type BucketError ¶
type BucketError struct {
Value string
}
func (*BucketError) Error ¶
func (e *BucketError) Error() string
type DownloadInput ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
func NewIterator(input *NewIteratorInput) *Iterator
func (*Iterator) Reset ¶
func (it *Iterator) Reset(input *NewIteratorInput)
type KeyPrefixError ¶
type KeyPrefixError struct {
Value string
}
func (*KeyPrefixError) Error ¶
func (e *KeyPrefixError) Error() string
type NewIteratorInput ¶
Click to show internal directories.
Click to hide internal directories.