The internal GCP package used `pkg.go.dev/google.golang.org/api` [1] to interact with Compute Engine API. Modify the package to use the new and idiomatic `pkg.go.dev/cloud.google.com/go` [2] library for interacting with the Compute Engine API. The new library have been already used to interact with the Cloudbuild and Storage APIs. The new library was not used for Compute Engine since the beginning, because at that time, it didn't support Compute Engine. Update go.mod and vendored packages. [1] https://github.com/googleapis/google-api-go-client [2] https://github.com/googleapis/google-cloud-go Signed-off-by: Tomas Hozza <thozza@redhat.com>
18 lines
532 B
Modula-2
18 lines
532 B
Modula-2
module cloud.google.com/go
|
|
|
|
go 1.11
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.18.2
|
|
github.com/golang/protobuf v1.5.2
|
|
github.com/google/go-cmp v0.5.6
|
|
github.com/google/martian/v3 v3.2.1
|
|
github.com/googleapis/gax-go/v2 v2.1.1
|
|
go.opencensus.io v0.23.0
|
|
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
|
|
google.golang.org/api v0.63.0
|
|
google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c
|
|
google.golang.org/grpc v1.40.1
|
|
google.golang.org/protobuf v1.27.1
|
|
)
|