Documentation ¶
Index ¶
- Variables
- func BucketList(svc s3iface.S3API, backendRegion *string) ([]*model.MetaBucket, error)
- func GetBucketMeta(buckIdx int, bucket *s3.Bucket, svc s3iface.S3API, backendRegion *string, ...)
- func GetHeadObject(svc s3iface.S3API, bucketName *string, obj *model.MetaObject)
- func ObjectList(svc s3iface.S3API, bucketName string) ([]*model.MetaObject, int64, error)
- type GcpAdapter
- type GcpDriverFactory
- type S3Cred
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjList = ObjectList
Functions ¶
func BucketList ¶
func GetBucketMeta ¶
func GetHeadObject ¶
func GetHeadObject(svc s3iface.S3API, bucketName *string, obj *model.MetaObject)
func ObjectList ¶
Types ¶
type GcpAdapter ¶
type GcpAdapter struct { Backend *backendpb.BackendDetail Session *session.Session }
func (*GcpAdapter) DownloadObject ¶
func (ad *GcpAdapter) DownloadObject()
func (*GcpAdapter) SyncMetadata ¶
func (ad *GcpAdapter) SyncMetadata(ctx context.Context, in *pb.SyncMetadataRequest) error
type GcpDriverFactory ¶
type GcpDriverFactory struct { }
func (*GcpDriverFactory) CreateDriver ¶
func (cdf *GcpDriverFactory) CreateDriver(backend *backendpb.BackendDetail) (driver.CloudDriver, error)
Click to show internal directories.
Click to hide internal directories.