Skip to content

Commit e41e5d2

Browse files
committed
revert: remove non-tem related changes from branch
1 parent 95c6d74 commit e41e5d2

22 files changed

+64
-106
lines changed

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

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ USAGE:
66
scw apple-silicon server create [arg=value ...]
77

88
ARGS:
9-
[name=<generated>] Create a server with this given name
10-
[project-id] Project ID to use. If none is passed the default project ID will be used
11-
[type] Create a server of the given type
12-
[os-id] Create a server with the given os_id
13-
[enable-vpc] Activate the Private Network feature for this server
14-
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15-
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16-
[runner-configuration.name]
17-
[runner-configuration.url]
18-
[runner-configuration.token]
19-
[runner-configuration.provider] (unknown_provider | github | gitlab)
20-
[applied-runner-configurations.runner-configuration-ids.{index}]
21-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
[name=<generated>] Create a server with this given name
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
[type] Create a server of the given type
12+
[os-id] Create a server with the given os_id
13+
[enable-vpc] Activate the Private Network feature for this server
14+
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15+
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16+
[runner-configuration.name]
17+
[runner-configuration.url]
18+
[runner-configuration.token]
19+
[runner-configuration.provider] (unknown_provider | github | gitlab)
20+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
2221

2322
FLAGS:
2423
-h, --help help for create

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ USAGE:
66
scw apple-silicon server update <server-id ...> [arg=value ...]
77

88
ARGS:
9-
server-id UUID of the server you want to update
10-
[name] Updated name for your server
11-
[schedule-deletion] Specify whether the server should be flagged for automatic deletion
12-
[enable-vpc] Activate or deactivate Private Network support for this server
13-
[commitment-type.commitment-type] (duration_24h | renewed_monthly | none)
14-
[public-bandwidth-bps] Public bandwidth configured for this server
15-
[applied-runner-configurations.runner-configuration-ids.{index}]
16-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
server-id UUID of the server you want to update
10+
[name] Updated name for your server
11+
[schedule-deletion] Specify whether the server should be flagged for automatic deletion
12+
[enable-vpc] Activate or deactivate Private Network support for this server
13+
[commitment-type.commitment-type] (duration_24h | renewed_monthly | none)
14+
[public-bandwidth-bps] Public bandwidth configured for this server
15+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
1716

1817
FLAGS:
1918
-h, --help help for update

cmd/scw/testdata/test-all-usage-audit-trail-event-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
[project-id] (Optional) ID of the Project containing the Audit Trail events
10-
[resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | edge_services_plan | edge_services_pipeline | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage)
10+
[resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | edge_services_plan | edge_services_pipeline | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage)
1111
[method-name] (Optional) Name of the method of the API call performed
1212
[status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied
1313
[recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default

cmd/scw/testdata/test-all-usage-cockpit-grafana-user-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Create a Grafana user
43
Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
54
Each Grafana user is associated with a role: viewer or editor. A viewer can only view dashboards, whereas an editor can create and edit dashboards. Note that the `admin` username is not available for creation.
65

cmd/scw/testdata/test-all-usage-cockpit-grafana-user-delete-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Delete a Grafana user
43
Delete a Grafana user from your Cockpit's Grafana, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
54

65
USAGE:

cmd/scw/testdata/test-all-usage-cockpit-grafana-user-list-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
List Grafana users
43
List all Grafana users created in your Cockpit's Grafana. By default, the Grafana users returned in the list are ordered in ascending order.
54

65
USAGE:

cmd/scw/testdata/test-all-usage-cockpit-grafana-user-reset-password-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Reset a Grafana user password
43
Reset the password of a Grafana user, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
54
A new password regenerates and only displays once. Make sure that you save it.
65

cmd/scw/testdata/test-all-usage-cockpit-grafana-user-usage.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ USAGE:
66
scw cockpit grafana-user <command>
77

88
AVAILABLE COMMANDS:
9-
create (Deprecated) EOL 2026-01-20
10-
delete (Deprecated) EOL 2026-01-20
11-
list (Deprecated) EOL 2026-01-20
12-
reset-password (Deprecated) EOL 2026-01-20
9+
create Create a Grafana user
10+
delete Delete a Grafana user
11+
list List Grafana users
12+
reset-password Reset a Grafana user password
1313

1414
FLAGS:
1515
-h, --help help for grafana-user

cmd/scw/testdata/test-all-usage-cockpit-plan-get-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Retrieve a pricing plan for the given Project, specified by the ID of the Project.
4-
Deprecated due to retention now being managed at the data source level.
4+
Deprecated: retention is now managed at the data source level.
55

66
USAGE:
77
scw cockpit plan get [arg=value ...]

cmd/scw/testdata/test-all-usage-cockpit-plan-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Retrieve a list of available pricing plan types.
4-
Deprecated due to retention now being managed at the data source level.
4+
Deprecated: retention is now managed at the data source level.
55

66
USAGE:
77
scw cockpit plan list [arg=value ...]

0 commit comments

Comments
 (0)