beyondstorage / go-service-qingstor Goto Github PK
View Code? Open in Web Editor NEWQingStor Object Storage support for go-storage.
Home Page: https://beyondstorage.io/docs/go-storage/services/qingstor
License: Apache License 2.0
QingStor Object Storage support for go-storage.
Home Page: https://beyondstorage.io/docs/go-storage/services/qingstor
License: Apache License 2.0
AppendObject
doesn't support overwrite. CreateAppend
to an existing appendable object with size greater than 0 will get "code":"invalid_argument","message":"position must equal to the current object size, position=0, object size=xxx"
, which not meet GSP-134: Write Behavior Consistency.
Metadata for link target should be x-qs-meta-bs-link-target
instead of x-qs-meta-bs-symlink
.
There is no symlink in go-storage, use link-target
maybe better.
We should check whether partsize is valid when multipart upload. Because QingStor has max parts limit 10000. So the part number will exceed the limit if part size is too small.
It is necessary to check validity before multipart upload started.
code here
For some reason, dns is not available for vhost, so we need to use path style.
This is the service tracking issue that generated by go-community, please close with comments if not applicable to this project.
formatError
to add new errors checkThe v3.0.0 release cannot be built correctly.
I got the error as below:
validation failed: packages.Load: /path/to/go-service-qingstor/[email protected]/utils.go:55:19: PairPolicy not declared by package types
/path/to/beyondstorage/go-service-qingstor/[email protected]/generated.go:495:25: undeclared name: PairPolicy
exit status 1
This is the service tracking issue that generated by go-community, please close with comments if not applicable to this project.
If this service has native support for Link
or Symlink
:
CreateLink
APIList
/Stat
If this service doesn't have native support for Link
or Symlink
, it's optinal to implement the virtual_link
features:
When call Copier.Copy
, I got error as below:
unexpected: QingStor Error: StatusCode "400", Code "invalid_argument", Message "Invalid argument x-qs-copy-source", Request ID "0351a3f024f22661", Reference URL "http://docs.qingcloud.com/qingstor/api/common/error_code.html"`
As QingStor docs' example, the x-qs-copy-source
header should be like /source-bucket/source-object
, but copy
do not handle it as proper format.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.