debian-forge-composer/vendor/github.com/google/uuid
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
..
.travis.yml go: include vendored modules 2020-02-17 16:09:17 +01:00
CONTRIBUTING.md go: include vendored modules 2020-02-17 16:09:17 +01:00
CONTRIBUTORS go: include vendored modules 2020-02-17 16:09:17 +01:00
dce.go go: include vendored modules 2020-02-17 16:09:17 +01:00
doc.go go: include vendored modules 2020-02-17 16:09:17 +01:00
go.mod go: include vendored modules 2020-02-17 16:09:17 +01:00
hash.go go: include vendored modules 2020-02-17 16:09:17 +01:00
LICENSE go: include vendored modules 2020-02-17 16:09:17 +01:00
marshal.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
node.go go: include vendored modules 2020-02-17 16:09:17 +01:00
node_js.go go: include vendored modules 2020-02-17 16:09:17 +01:00
node_net.go go: include vendored modules 2020-02-17 16:09:17 +01:00
README.md internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
sql.go go: include vendored modules 2020-02-17 16:09:17 +01:00
time.go go: include vendored modules 2020-02-17 16:09:17 +01:00
util.go go: include vendored modules 2020-02-17 16:09:17 +01:00
uuid.go go: include vendored modules 2020-02-17 16:09:17 +01:00
version1.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
version4.go internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00

uuid build status

The uuid package generates and inspects UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.

This package is based on the github.com/pborman/uuid package (previously named code.google.com/p/go-uuid). It differs from these earlier packages in that a UUID is a 16 byte array rather than a byte slice. One loss due to this change is the ability to represent an invalid UUID (vs a NIL UUID).

Install

go get github.com/google/uuid

Documentation

GoDoc

Full go doc style documentation for the package can be viewed online without installing this package by using the GoDoc site here: http://pkg.go.dev/github.com/google/uuid