forked from GoogleCloudPlatform/k8s-config-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GoogleCloudPlatform#2390 from gemmahou/compute-mock
fix: Update compute mocks
- Loading branch information
Showing
86 changed files
with
1,493 additions
and
1,236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
GET https://compute.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}?alt=json | ||
GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager | ||
|
||
|
@@ -19,13 +19,13 @@ X-Xss-Protection: 0 | |
"id": "000000000000000000000", | ||
"kind": "compute#network", | ||
"name": "${networkID}", | ||
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}" | ||
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" | ||
} | ||
|
||
--- | ||
|
||
PATCH https://compute.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}?alt=json | ||
PATCH https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager | ||
|
||
|
@@ -51,17 +51,17 @@ X-Xss-Protection: 0 | |
"name": "${operationID}", | ||
"operationType": "compute.networks.patch", | ||
"progress": 0, | ||
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/operations/${operationID}", | ||
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", | ||
"startTime": "2024-04-01T12:34:56.123456Z", | ||
"status": "RUNNING", | ||
"targetId": "${networkID}", | ||
"targetLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}", | ||
"targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", | ||
"user": "[email protected]" | ||
} | ||
|
||
--- | ||
|
||
GET https://compute.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}?alt=json | ||
GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager | ||
|
||
|
@@ -82,13 +82,13 @@ X-Xss-Protection: 0 | |
"id": "000000000000000000000", | ||
"kind": "compute#network", | ||
"name": "${networkID}", | ||
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}" | ||
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" | ||
} | ||
|
||
--- | ||
|
||
PATCH https://compute.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}?alt=json | ||
PATCH https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager | ||
|
||
|
@@ -114,17 +114,17 @@ X-Xss-Protection: 0 | |
"name": "${operationID}", | ||
"operationType": "compute.networks.patch", | ||
"progress": 0, | ||
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/operations/${operationID}", | ||
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/operations/${operationID}", | ||
"startTime": "2024-04-01T12:34:56.123456Z", | ||
"status": "RUNNING", | ||
"targetId": "${networkID}", | ||
"targetLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}", | ||
"targetLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", | ||
"user": "[email protected]" | ||
} | ||
|
||
--- | ||
|
||
GET https://compute.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}?alt=json | ||
GET https://compute.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}?alt=json | ||
Content-Type: application/json | ||
User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager | ||
|
||
|
@@ -145,8 +145,8 @@ X-Xss-Protection: 0 | |
"id": "000000000000000000000", | ||
"kind": "compute#network", | ||
"name": "${networkID}", | ||
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/networks/${networkID}" | ||
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}", | ||
"selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}" | ||
} | ||
|
||
--- | ||
|
Oops, something went wrong.