cloud: fix discovery of GCP nodes across multiple zones (#1943)

This commit is contained in:
Malte Poll 2023-06-20 12:02:31 +02:00 committed by GitHub
parent de2c21b555
commit 0b262a08bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 418 additions and 8 deletions

View file

@ -40,3 +40,7 @@ type subnetAPI interface {
Get(ctx context.Context, req *computepb.GetSubnetworkRequest, opts ...gax.CallOption) (*computepb.Subnetwork, error)
Close() error
}
type zoneAPI interface {
List(ctx context.Context, req *computepb.ListZonesRequest, opts ...gax.CallOption) zoneIterator
}