Skip to content

Commit

Permalink
feat!: add support for Virtual Dataproc cluster running on GKE cluster
Browse files Browse the repository at this point in the history
Committer: @Padmaar
PiperOrigin-RevId: 429111624

Source-Link: googleapis/googleapis@da999a2

Source-Link: googleapis/googleapis-gen@99c5b3e
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGF0YXByb2MuVjEvLk93bEJvdC55YW1sIiwiaCI6Ijk5YzViM2U5OGJhYTFkZTkzNzc2YWE0YjVjZDRjNzM2MTM1M2U0ZjYifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Feb 17, 2022
1 parent 95bf8b9 commit 462556b
Show file tree
Hide file tree
Showing 4 changed files with 3,080 additions and 590 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public void GetClusterRequestObject()
},
},
Metrics = new ClusterMetrics(),
VirtualClusterConfig = new VirtualClusterConfig(),
};
mockGrpcClient.Setup(x => x.GetCluster(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
ClusterControllerClient client = new ClusterControllerClientImpl(mockGrpcClient.Object, null);
Expand Down Expand Up @@ -95,6 +96,7 @@ public void GetClusterRequestObject()
},
},
Metrics = new ClusterMetrics(),
VirtualClusterConfig = new VirtualClusterConfig(),
};
mockGrpcClient.Setup(x => x.GetClusterAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Cluster>(stt::Task.FromResult(expectedResponse), null, null, null, null));
ClusterControllerClient client = new ClusterControllerClientImpl(mockGrpcClient.Object, null);
Expand Down Expand Up @@ -135,6 +137,7 @@ public void GetCluster()
},
},
Metrics = new ClusterMetrics(),
VirtualClusterConfig = new VirtualClusterConfig(),
};
mockGrpcClient.Setup(x => x.GetCluster(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
ClusterControllerClient client = new ClusterControllerClientImpl(mockGrpcClient.Object, null);
Expand Down Expand Up @@ -173,6 +176,7 @@ public void GetCluster()
},
},
Metrics = new ClusterMetrics(),
VirtualClusterConfig = new VirtualClusterConfig(),
};
mockGrpcClient.Setup(x => x.GetClusterAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Cluster>(stt::Task.FromResult(expectedResponse), null, null, null, null));
ClusterControllerClient client = new ClusterControllerClientImpl(mockGrpcClient.Object, null);
Expand Down
Loading

0 comments on commit 462556b

Please sign in to comment.