Documentation ¶
Overview ¶
Package m provides S3 models.
Index ¶
- type ObjectCache
- type S3Bucket
- type S3Model
- func (s3m S3Model) AvailableBuckets() []S3Bucket
- func (s3m S3Model) Bucket() string
- func (s3m S3Model) Download(object s3types.Object, destPath string) (n int64, err error)
- func (s3m S3Model) List() (prefixes []string, keys []string, err error)
- func (s3m S3Model) ListObjects(key string) []s3types.Object
- func (s3m *S3Model) MoveDown(prefix string) error
- func (s3m *S3Model) MoveUp() error
- func (s3m S3Model) Prefix() string
- func (s3m *S3Model) SetBucket(bucket string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectCache ¶
type ObjectCache struct {
// contains filtered or unexported fields
}
ObjectCache ...
type S3Model ¶
type S3Model struct {
// contains filtered or unexported fields
}
S3Model ...
func NewS3Model ¶
NewS3Model ...
func (S3Model) AvailableBuckets ¶
AvailableBuckets ...
func (S3Model) ListObjects ¶
ListObjects ...
Click to show internal directories.
Click to hide internal directories.