Implement MinIO as cloud storage for RESTAPI agent 12/1712/1
authorChen, Tingjie <tingjie.chen@intel.com>
Tue, 27 Aug 2019 07:38:45 +0000 (07:38 +0000)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 2 Oct 2019 20:43:10 +0000 (13:43 -0700)
commitce88c65155a2387621da0cbec6f2d6238c7d53a5
tree187838a347046deefc052841788cb67802c3c1da
parent837b726a76403197c248244623bfa7bfe73153eb
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.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I0e928d3401168ea946b5d6790312842e0a54784d
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]