-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9b4547
commit 8834767
Showing
12 changed files
with
74 additions
and
73 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
73 changes: 6 additions & 67 deletions
73
internal/namespaces/lb/v1/testdata/test-create-lb-simple.golden
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,69 +1,8 @@ | ||
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 | ||
🟩🟩🟩 STDOUT️ 🟩🟩🟩️ | ||
ID df47ea4e-7585-42ce-bcbf-3b5f704f1ef4 | ||
Name foobar | ||
Description foobar | ||
Status ready | ||
Instances.0.ID 9d2d8441-8172-45e8-9d77-35f6432424c8 | ||
Instances.0.Status ready | ||
Instances.0.IPAddress 10.68.206.111 | ||
Instances.0.Region fr-par | ||
Instances.1.ID e821e381-295d-4f45-8986-0f03953cd737 | ||
Instances.1.Status ready | ||
Instances.1.IPAddress 10.70.38.9 | ||
Instances.1.Region fr-par | ||
OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42 | ||
IP.0.ID 733a3c45-f975-42ef-b4ca-28419312f932 | ||
IP.0.IPAddress 195.154.68.106 | ||
IP.0.OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42 | ||
IP.0.LBID df47ea4e-7585-42ce-bcbf-3b5f704f1ef4 | ||
IP.0.Reverse 195-154-68-106.lb.fr-par.scw.cloud | ||
IP.0.ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42 | ||
IP.0.Region fr-par | ||
FrontendCount 0 | ||
BackendCount 0 | ||
Type lb-s | ||
SslCompatibilityLevel ssl_compatibility_level_intermediate | ||
ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42 | ||
Region fr-par | ||
🟩🟩🟩 JSON STDOUT 🟩🟩🟩 | ||
🎲🎲🎲 EXIT CODE: 1 🎲🎲🎲 | ||
🟥🟥🟥 STDERR️️ 🟥🟥🟥️ | ||
Missing required argument 'project-id' | ||
🟥🟥🟥 JSON STDERR 🟥🟥🟥 | ||
{ | ||
"id": "df47ea4e-7585-42ce-bcbf-3b5f704f1ef4", | ||
"name": "foobar", | ||
"description": "foobar", | ||
"status": "ready", | ||
"instances": [ | ||
{ | ||
"id": "9d2d8441-8172-45e8-9d77-35f6432424c8", | ||
"status": "ready", | ||
"ip_address": "10.68.206.111", | ||
"region": "fr-par" | ||
}, | ||
{ | ||
"id": "e821e381-295d-4f45-8986-0f03953cd737", | ||
"status": "ready", | ||
"ip_address": "10.70.38.9", | ||
"region": "fr-par" | ||
} | ||
], | ||
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", | ||
"ip": [ | ||
{ | ||
"id": "733a3c45-f975-42ef-b4ca-28419312f932", | ||
"ip_address": "195.154.68.106", | ||
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", | ||
"lb_id": "df47ea4e-7585-42ce-bcbf-3b5f704f1ef4", | ||
"reverse": "195-154-68-106.lb.fr-par.scw.cloud", | ||
"project_id": "951df375-e094-4d26-97c1-ba548eeb9c42", | ||
"region": "fr-par" | ||
} | ||
], | ||
"tags": [], | ||
"frontend_count": 0, | ||
"backend_count": 0, | ||
"type": "lb-s", | ||
"subscriber": null, | ||
"ssl_compatibility_level": "ssl_compatibility_level_intermediate", | ||
"project_id": "951df375-e094-4d26-97c1-ba548eeb9c42", | ||
"region": "fr-par" | ||
"message": "missing required argument 'project-id'", | ||
"error": {} | ||
} |
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