Implement MinIO as cloud storage for RESTAPI agent 22/1522/5
authorChen, Tingjie <tingjie.chen@intel.com>
Tue, 27 Aug 2019 07:38:45 +0000 (07:38 +0000)
committerChen, Tingjie <tingjie.chen@intel.com>
Tue, 17 Sep 2019 01:42:21 +0000 (01:42 +0000)
commit4e75e36176a11d46da4944cd4c6afa5efbc1f2d5
treee267cb6bbcac73ecebcd35fbf46d69e8263061ea
parent0e111deb699a7c74ae388aa90a13acd4c9d623f0
Implement MinIO as cloud storage for RESTAPI agent

Current support with patchHandler, since MinIO support multipart upload
and resumable download, it is no need to add special implementation
with tus protocol for resumable upload on cloud storage.

Change-Id: Iab42487a5f19b83240551db89981cc59d8dfe4dd
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
cmd/bpa-restapi-agent/README.md
cmd/bpa-restapi-agent/api/api.go
cmd/bpa-restapi-agent/api/imagehandler.go
cmd/bpa-restapi-agent/internal/config/config.go
cmd/bpa-restapi-agent/internal/storage/minio.go [new file with mode: 0644]