Skip to content

Commit e8b781d

Browse files
feat: add all locality to list commands (#2711)
Co-authored-by: Jules Castéran <[email protected]>
1 parent c25943f commit e8b781d

File tree

105 files changed

+637
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+637
-285
lines changed

cmd/scw/testdata/test-all-usage-apple-silicon-os-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
[server-type] List of compatible server type
1010
[name] Filter os by name (for eg. "11.1" will return "11.1.2" and "11.1" but not "12")
11-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
11+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3 | all)
1212

1313
FLAGS:
1414
-h, --help help for list

cmd/scw/testdata/test-all-usage-apple-silicon-server-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARGS:
99
[order-by] The sort order of the returned servers (created_at_asc | created_at_desc)
1010
[project-id] List only servers of this project ID
1111
[organization-id] List only servers of this organization ID
12-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
12+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3 | all)
1313

1414
FLAGS:
1515
-h, --help help for list

cmd/scw/testdata/test-all-usage-baremetal-offer-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ EXAMPLES:
1414

1515
ARGS:
1616
[subscription-period] Period of subscription to filter offers (unknown_subscription_period | hourly | monthly)
17-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
17+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
1818

1919
FLAGS:
2020
-h, --help help for list

cmd/scw/testdata/test-all-usage-baremetal-options-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ EXAMPLES:
1515
ARGS:
1616
[offer-id] Filter options by offer_id
1717
[name] Filter options by name
18-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
18+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
1919

2020
FLAGS:
2121
-h, --help help for list

cmd/scw/testdata/test-all-usage-baremetal-os-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE:
77

88
ARGS:
99
[offer-id] Filter OS by offer ID
10-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
1111

1212
FLAGS:
1313
-h, --help help for list

cmd/scw/testdata/test-all-usage-baremetal-private-network-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARGS:
1111
[private-network-id] Filter private networks by private network ID
1212
[project-id] Filter private networks by project ID
1313
[organization-id] Filter private networks by organization ID
14-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
14+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2 | all)
1515

1616
FLAGS:
1717
-h, --help help for list

cmd/scw/testdata/test-all-usage-baremetal-server-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ARGS:
1717
[project-id] Filter by project ID
1818
[option-id] Filter by option ID
1919
[organization-id] Filter by organization ID
20-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
20+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
2121

2222
FLAGS:
2323
-h, --help help for list

cmd/scw/testdata/test-all-usage-container-container-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARGS:
1111
[name]
1212
[project-id]
1313
[organization-id]
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
1515

1616
FLAGS:
1717
-h, --help help for list

cmd/scw/testdata/test-all-usage-container-cron-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
[order-by] (created_at_asc | created_at_desc)
1010
[container-id]
11-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
1212

1313
FLAGS:
1414
-h, --help help for list

cmd/scw/testdata/test-all-usage-container-domain-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
[order-by] (created_at_asc | created_at_desc | hostname_asc | hostname_desc)
1010
[container-id]
11-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
1212

1313
FLAGS:
1414
-h, --help help for list

0 commit comments

Comments
 (0)