Demo how to use Thanos Object Storage interface to upload or download files and directories from Tencent COS
export COS_BUCKET=bucket
export COS_APP_ID=1300103488
export COS_REGION=ap-beijing
export COS_SECRET_ID=...
export COS_SECRET_KEY=...
dep init
dep ensure
go test -v -args -srcdir=/root/lm/gopath/src/objstore/data/01DE4BDG1AFRM20FMSB65V3KQ7 -dstdir=thanos/test
go test -v -args -srcdir=thanos/test -dstdir=/root/lm/gopath/src/objstore/data/download -oper=download