Documentation ¶
Index ¶
- func BucketList(sess *session.Session) ([]*model.MetaBucket, error)
- func GetBucketMeta(buckIdx int, bucket *s3.Bucket, sess *session.Session, ...)
- func GetHeadObject(sess *session.Session, bucketName *string, obj *model.MetaObject)
- func ObjectList(sess *session.Session, bucket *model.MetaBucket) error
- type AwsAdapter
- type AwsS3DriverFactory
- type S3Cred
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketList ¶
func BucketList(sess *session.Session) ([]*model.MetaBucket, error)
func GetBucketMeta ¶
func GetHeadObject ¶
func GetHeadObject(sess *session.Session, bucketName *string, obj *model.MetaObject)
func ObjectList ¶
func ObjectList(sess *session.Session, bucket *model.MetaBucket) error
Types ¶
type AwsAdapter ¶
type AwsAdapter struct { Backend *backendpb.BackendDetail Session *session.Session }
func (*AwsAdapter) DownloadObject ¶
func (ad *AwsAdapter) DownloadObject()
func (*AwsAdapter) SyncMetadata ¶
func (ad *AwsAdapter) SyncMetadata(ctx context.Context, in *pb.SyncMetadataRequest) error
type AwsS3DriverFactory ¶
type AwsS3DriverFactory struct { }
func (*AwsS3DriverFactory) CreateDriver ¶
func (factory *AwsS3DriverFactory) CreateDriver(backend *backendpb.BackendDetail) (driver.CloudDriver, error)
Click to show internal directories.
Click to hide internal directories.