Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBAdapter ¶
type DBAdapter interface { CreateBucket(ctx context.Context, bucket *pb.Bucket) S3Error DeleteBucket(ctx context.Context, name string) S3Error UpdateBucket(ctx context.Context, bucket *pb.Bucket) S3Error GetBucketByName(ctx context.Context, name string, out *pb.Bucket) S3Error ListBuckets(ctx context.Context, in *pb.BaseRequest, out *[]pb.Bucket) S3Error CreateObject(ctx context.Context, in *pb.Object) S3Error UpdateObject(ctx context.Context, in *pb.Object) S3Error DeleteObject(ctx context.Context, in *pb.DeleteObjectInput) S3Error GetObject(ctx context.Context, in *pb.GetObjectInput, out *pb.Object) S3Error CountObjects(ctx context.Context, in *pb.ListObjectsRequest, out *ObjsCountInfo) S3Error UpdateObjMeta(ctx context.Context, objKey *string, bucketName *string, lastmod int64, setting map[string]interface{}) S3Error AddMultipartUpload(ctx context.Context, record *pb.MultipartUploadRecord) S3Error DeleteMultipartUpload(ctx context.Context, record *pb.MultipartUploadRecord) S3Error }
var DbAdapter DBAdapter
DbAdapter is a global variable that controls database module.
Click to show internal directories.
Click to hide internal directories.