Skip to content

Commit

Permalink
Revert "update Test_AllUsage goldens"
Browse files Browse the repository at this point in the history
This reverts commit 2b8813b.
  • Loading branch information
Laure-di committed Jan 27, 2025
1 parent 2b8813b commit 7bbdc44
Show file tree
Hide file tree
Showing 46 changed files with 57 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get the BMC (Baseboard Management Controller) access associated with the given ID.

USAGE:
scw dedibox bmc get <server-id ...> [arg=value ...]
scw dedibox bmc get [arg=value ...]

ARGS:
server-id ID of the server to get BMC access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Start BMC (Baseboard Management Controller) access associated with the given ID.
The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.

USAGE:
scw dedibox bmc start <server-id ...> [arg=value ...]
scw dedibox bmc start [arg=value ...]

ARGS:
server-id ID of the server to start the BMC access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Stop BMC (Baseboard Management Controller) access associated with the given ID.

USAGE:
scw dedibox bmc stop <server-id ...> [arg=value ...]
scw dedibox bmc stop [arg=value ...]

ARGS:
server-id ID of the server to stop BMC access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get the server associated with the given ID.

USAGE:
scw dedibox fip get <ip-id ...> [arg=value ...]
scw dedibox fip get [arg=value ...]

ARGS:
ip-id ID of the failover IP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Return specific offer for the given ID.

USAGE:
scw dedibox offer get <offer-id ...> [arg=value ...]
scw dedibox offer get [arg=value ...]

ARGS:
offer-id ID of offer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Return specific OS for the given ID.

USAGE:
scw dedibox os get <os-id ...> [arg=value ...]
scw dedibox os get [arg=value ...]

ARGS:
os-id ID of the OS
Expand Down
4 changes: 2 additions & 2 deletions cmd/scw/testdata/test-all-usage-dedibox-os-list-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
List all available OS that can be install on a baremetal server.

USAGE:
scw dedibox os list <server-id ...> [arg=value ...]
scw dedibox os list [arg=value ...]

ARGS:
[order-by] Order of the OS (created_at_asc | created_at_desc | released_at_asc | released_at_desc)
[type] Type of the OS (unknown_type | server | virtu | panel | desktop | custom | rescue)
server-id Filter OS by compatible server ID
[server-id] Filter OS by compatible server ID
[project-id=<retrieved from config>] Project ID
[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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Return raid for the given server ID.

USAGE:
scw dedibox raid get <server-id ...> [arg=value ...]
scw dedibox raid get [arg=value ...]

ARGS:
server-id ID of the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update RAID associated with the given server ID.

USAGE:
scw dedibox raid update <server-id ...> [arg=value ...]
scw dedibox raid update [arg=value ...]

ARGS:
server-id ID of the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Return rescue information for the given server ID.

USAGE:
scw dedibox rescue get <server-id ...> [arg=value ...]
scw dedibox rescue get [arg=value ...]

ARGS:
server-id ID of the server to get rescue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Start in rescue the server associated with the given ID.

USAGE:
scw dedibox rescue start <server-id ...> [arg=value ...]
scw dedibox rescue start [arg=value ...]

ARGS:
server-id ID of the server to start rescue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Stop rescue on the server associated with the given ID.

USAGE:
scw dedibox rescue stop <server-id ...> [arg=value ...]
scw dedibox rescue stop [arg=value ...]

ARGS:
server-id ID of the server to stop rescue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update reverse of ip associated with the given ID.

USAGE:
scw dedibox reverse-ip update <ip-id ...> [arg=value ...]
scw dedibox reverse-ip update [arg=value ...]

ARGS:
ip-id ID of the IP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Add-members dedibox resources.

USAGE:
scw dedibox rpn-v1 add-members <group-id ...> [arg=value ...]
scw dedibox rpn-v1 add-members [arg=value ...]

ARGS:
group-id The rpn v1 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete-members dedibox resources.

USAGE:
scw dedibox rpn-v1 delete-members <group-id ...> [arg=value ...]
scw dedibox rpn-v1 delete-members [arg=value ...]

ARGS:
group-id The rpn v1 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete dedibox resources.

USAGE:
scw dedibox rpn-v1 delete <group-id ...> [arg=value ...]
scw dedibox rpn-v1 delete [arg=value ...]

ARGS:
group-id Rpn v1 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get dedibox resources.

USAGE:
scw dedibox rpn-v1 get <group-id ...> [arg=value ...]
scw dedibox rpn-v1 get [arg=value ...]

ARGS:
group-id Rpn v1 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update dedibox resources.

USAGE:
scw dedibox rpn-v1 update <group-id ...> [arg=value ...]
scw dedibox rpn-v1 update [arg=value ...]

ARGS:
group-id Rpn v1 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Add-members dedibox resources.

USAGE:
scw dedibox rpn-v2 add-members <group-id ...> [arg=value ...]
scw dedibox rpn-v2 add-members [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete-members dedibox resources.

USAGE:
scw dedibox rpn-v2 delete-members <group-id ...> [arg=value ...]
scw dedibox rpn-v2 delete-members [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete dedibox resources.

USAGE:
scw dedibox rpn-v2 delete <group-id ...> [arg=value ...]
scw dedibox rpn-v2 delete [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Disable-compatibility dedibox resources.

USAGE:
scw dedibox rpn-v2 disable-compatibility <group-id ...> [arg=value ...]
scw dedibox rpn-v2 disable-compatibility [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get dedibox resources.

USAGE:
scw dedibox rpn-v2 get <group-id ...> [arg=value ...]
scw dedibox rpn-v2 get [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update dedibox resources.

USAGE:
scw dedibox rpn-v2 update <group-id ...> [arg=value ...]
scw dedibox rpn-v2 update [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Update-vlan-members dedibox resources.

USAGE:
scw dedibox rpn-v2 update-vlan-members <group-id ...> [arg=value ...]
scw dedibox rpn-v2 update-vlan-members [arg=value ...]

ARGS:
group-id RPN V2 group ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Cancels the current server installation associated with the given server ID.

USAGE:
scw dedibox server cancel-install <server-id ...> [arg=value ...]
scw dedibox server cancel-install [arg=value ...]

ARGS:
server-id Server ID of the server to cancel install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Delete the server associated with the given ID.

USAGE:
scw dedibox server delete <server-id ...> [arg=value ...]
scw dedibox server delete [arg=value ...]

ARGS:
server-id Server ID to delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get the server installation status associated with the given server ID.

USAGE:
scw dedibox server get-install <server-id ...> [arg=value ...]
scw dedibox server get-install [arg=value ...]

ARGS:
server-id Server ID of the server to install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get the server default partitioning schema associated with the given server ID and OS ID.

USAGE:
scw dedibox server get-partitioning <server-id ...> [arg=value ...]
scw dedibox server get-partitioning [arg=value ...]

ARGS:
server-id ID of the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Get the server associated with the given ID.

USAGE:
scw dedibox server get <server-id ...> [arg=value ...]
scw dedibox server get [arg=value ...]

ARGS:
server-id ID of the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Install an OS on the server associated with the given ID.

USAGE:
scw dedibox server install <server-id ...> [arg=value ...]
scw dedibox server install [arg=value ...]

ARGS:
server-id Server ID to install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
List disks associated to the given server ID.

USAGE:
scw dedibox server list-disks <server-id ...> [arg=value ...]
scw dedibox server list-disks [arg=value ...]

ARGS:
[order-by] Order of the server disks (created_at_asc | created_at_desc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
List events associated to the given server ID.

USAGE:
scw dedibox server list-events <server-id ...> [arg=value ...]
scw dedibox server list-events [arg=value ...]

ARGS:
[order-by] Order of the server events (created_at_asc | created_at_desc)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Reboot the server associated with the given ID, use boot param to reboot in rescue.

USAGE:
scw dedibox server reboot <server-id ...> [arg=value ...]
scw dedibox server reboot [arg=value ...]

ARGS:
server-id Server ID to reboot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Start the server associated with the given ID.

USAGE:
scw dedibox server start <server-id ...> [arg=value ...]
scw dedibox server start [arg=value ...]

ARGS:
server-id Server ID to start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Stop the server associated with the given ID.

USAGE:
scw dedibox server stop <server-id ...> [arg=value ...]
scw dedibox server stop [arg=value ...]

ARGS:
server-id Server ID to stop
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7bbdc44

Please sign in to comment.