Home
last modified time | relevance | path

Searched refs:ComputeClient (Results 1 – 13 of 13) sorted by relevance

/tools/acloud/internal/lib/
Dgcompute_client_test.py76 self.Patch(gcompute_client.ComputeClient, "InitResourceHandle")
80 self.compute_client = gcompute_client.ComputeClient(
214 mock_check = self.Patch(gcompute_client.ComputeClient,
217 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
239 mock_check = self.Patch(gcompute_client.ComputeClient,
242 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
265 mock_check = self.Patch(gcompute_client.ComputeClient,
268 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
283 @mock.patch.object(gcompute_client.ComputeClient, "GetImage")
312 self.Patch(gcompute_client.ComputeClient, "CheckImageExists", return_value=False)
[all …]
Dandroid_compute_client_test.py84 self.Patch(gcompute_client.ComputeClient, "CreateImage")
86 gcompute_client.ComputeClient,
101 gcompute_client.ComputeClient,
104 self.Patch(gcompute_client.ComputeClient, "CreateInstance")
106 gcompute_client.ComputeClient,
146 gcompute_client.ComputeClient,
157 gcompute_client.ComputeClient,
171 gcompute_client.ComputeClient,
176 gcompute_client.ComputeClient,
181 gcompute_client.ComputeClient,
Dcvd_compute_client_multi_stage.py428 gcompute_client.ComputeClient.AddSshRsaInstanceMetadata(
431 ip = gcompute_client.ComputeClient.GetInstanceIP(
466 gcompute_client.ComputeClient.CreateInstance(
480 ip = gcompute_client.ComputeClient.GetInstanceIP(
559 return gcompute_client.ComputeClient.GetInstanceIP(
580 image_name = gcompute_client.ComputeClient.GetImageFromFamily(
Dcheeps_compute_client_test.py75 gcompute_client.ComputeClient, "CompareMachineSize", return_value=1)
77 gcompute_client.ComputeClient,
80 self.Patch(gcompute_client.ComputeClient, "CreateInstance")
120 gcompute_client.ComputeClient.CreateInstance.assert_called_with(
167 gcompute_client.ComputeClient.CreateInstance.assert_called_with(
Dgoldfish_compute_client_test.py81 gcompute_client.ComputeClient,
85 gcompute_client.ComputeClient,
88 self.Patch(gcompute_client.ComputeClient, "CreateInstance")
137 gcompute_client.ComputeClient.CreateInstance.assert_called_with(
Dcvd_compute_client_test.py87 @mock.patch.object(gcompute_client.ComputeClient, "CompareMachineSize",
89 @mock.patch.object(gcompute_client.ComputeClient, "GetImage",
91 @mock.patch.object(gcompute_client.ComputeClient, "CreateInstance")
Dcvd_compute_client_multi_stage_test.py144 @mock.patch.object(gcompute_client.ComputeClient, "CompareMachineSize",
146 @mock.patch.object(gcompute_client.ComputeClient, "GetImage",
148 @mock.patch.object(gcompute_client.ComputeClient, "CreateInstance")
Dgcompute_client.py109 class ComputeClient(base_cloud_client.BaseCloudApiClient): class
137 super(ComputeClient, self).__init__(oauth2_credentials)
Dcheeps_compute_client.py95 gcompute_client.ComputeClient.CreateInstance(
Dgoldfish_compute_client.py228 gcompute_client.ComputeClient.CreateInstance(
Dcvd_compute_client.py171 gcompute_client.ComputeClient.CreateInstance(
Dandroid_compute_client.py52 class AndroidComputeClient(gcompute_client.ComputeClient):
/tools/acloud/list/
Dlist.py120 compute_client = gcompute_client.ComputeClient(cfg, credentials)