[node operator] GCP: use canonical references

This commit is contained in:
Malte Poll 2022-08-05 12:15:06 +02:00 committed by Malte Poll
parent 51cf638361
commit 80ebfab164
9 changed files with 151 additions and 3 deletions

View file

@ -8,6 +8,12 @@ import (
computepb "google.golang.org/genproto/googleapis/cloud/compute/v1"
)
type projectAPI interface {
Close() error
Get(ctx context.Context, req *computepb.GetProjectRequest,
opts ...gax.CallOption) (*computepb.Project, error)
}
type instanceAPI interface {
Close() error
Get(ctx context.Context, req *computepb.GetInstanceRequest,