debian-forge-composer/vendor/github.com
Tomas Hozza ff95059748 internal/upload: Add support for upload to GCP and CLI tool using it
Add new internal upload target for Google Cloud Platform and
osbuild-upload-gcp CLI tool which uses the API.

Supported features are:
- Authenticate with GCP using explicitly provided JSON credentials
  file or let the authentication be handled automatically by the
  Google cloud client library. The later is useful e.g. when the worker
  is running in GCP VM instance, which has associated permissions with
  it.
- Upload an existing image file into existing Storage bucket.
- Verify MD5 checksum of the uploaded image file against the local
  file's checksum.
- Import the uploaded image file into Compute Node as an Image.
- Delete the uploaded image file after a successful image import.
- Delete all cache files from storage created as part of the image
  import build job.
- Share the imported image with a list of specified accounts.

GCP-specific image type is not yet added, since GCP supports importing
VMDK and VHD images, which the osbuild-composer already supports.

Update go.mod, vendor/ content and SPEC file with new dependencies.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-02-25 18:44:21 +00:00
..
aws/aws-sdk-go go: include vendored modules 2020-02-17 16:09:17 +01:00
Azure go.mod: bump azure-storage-blob-go/azblob 2021-02-03 12:36:04 +01:00
BurntSushi/toml go: include vendored modules 2020-02-17 16:09:17 +01:00
coreos Use semver to enforce blueprint version numbers 2020-02-25 09:00:35 +01:00
davecgh/go-spew worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
deepmap/oapi-codegen go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00
dgrijalva/jwt-go vendor Azure SDK 2020-04-27 20:34:20 +02:00
dimchansky/utfbom vendor Azure SDK 2020-04-27 20:34:20 +02:00
getkin/kin-openapi go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00
ghodss/yaml go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00
go-chi/chi go.mod: update 2020-09-22 14:13:06 +02:00
gobwas/glob go: include vendored modules 2020-02-17 16:09:17 +01:00
golang internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
google internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
googleapis/gax-go/v2 internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
gophercloud/gophercloud tests: upload & boot image in OpenStack. Closes #339 2020-06-23 16:17:30 +02:00
jmespath/go-jmespath go: include vendored modules 2020-02-17 16:09:17 +01:00
jstemmer/go-junit-report internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
julienschmidt/httprouter go: include vendored modules 2020-02-17 16:09:17 +01:00
kolo/xmlrpc upload/koji: use the new API of kolo/xmlrpc by default 2020-10-14 16:44:26 +02:00
kr tests: upload & test in vCenter. Closes #338 2020-08-20 21:59:54 +02:00
labstack worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
mattn upload/azure: use the new azure/azblob API on Fedora 33+ & RHEL 2021-01-06 16:31:28 +01:00
mitchellh/go-homedir vendor Azure SDK 2020-04-27 20:34:20 +02:00
pkg/errors worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
pmezard/go-difflib add missing packages to vendor directory 2020-03-13 16:00:29 +01:00
stretchr/testify worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
ubccr/kerby upload/koji: add support for GSSAPI/Kerberos auth 2020-08-27 17:29:57 +01:00
valyala worker: use openapi spec and generated code 2020-09-06 18:42:23 +01:00
vmware/govmomi tests: upload & test in vCenter. Closes #338 2020-08-20 21:59:54 +02:00