Skip to content

Commit 92741ea

Browse files
committed
feat: update generated APIs
1 parent ce37c8d commit 92741ea

14 files changed

Lines changed: 98 additions & 82 deletions

cmd/scw/testdata/test-all-usage-datalab-cluster-version-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
[order-by] The order by field. (name_asc | name_desc)
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | all)
1111

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

cmd/scw/testdata/test-all-usage-datalab-cluster-version-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Lists the Spark versions available for Data Lab creation.
3+
Lists the Apache Spark versions available for cluster creation.
44

55
USAGE:
66
scw datalab cluster-version <command>

cmd/scw/testdata/test-all-usage-datalab-datalab-create-usage.golden

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ USAGE:
77

88
ARGS:
99
[project-id] Project ID to use. If none is passed the default project ID will be used
10-
[name] The name of the Data Lab.
11-
[description] The description of the Data Lab.
12-
[tags.{index}] The tags of the Data Lab.
10+
[name] The name of the cluster.
11+
[description] The description of the cluster.
12+
[tags.{index}] The tags of the cluster.
1313
[main.node-type]
1414
[worker.node-type]
1515
[worker.node-count]
16-
[has-notebook] Select this option to include a notebook as part of the Data Lab.
17-
[spark-version] The version of Spark running inside the Data Lab, available options can be viewed at ListClusterVersions.
16+
[has-notebook] Select this option to include a notebook as part of the cluster.
17+
[spark-version] The version of Apache Spark running inside the cluster, available options can be viewed at ListClusterVersions.
1818
[total-storage.type] (unknown_type | sbs_5k)
1919
[total-storage.size]
20-
[private-network-id] The unique identifier of the private network the Data Lab will be attached to.
21-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
20+
[private-network-id] The unique identifier of the private network the cluster will be attached to.
21+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil)
2222

2323
FLAGS:
2424
-h, --help help for create

cmd/scw/testdata/test-all-usage-datalab-datalab-delete-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw datalab datalab delete [arg=value ...]
77

88
ARGS:
9-
datalab-id The unique identifier of the Data Lab.
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
9+
datalab-id The unique identifier of the cluster.
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil)
1111

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

cmd/scw/testdata/test-all-usage-datalab-datalab-get-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw datalab datalab get [arg=value ...]
77

88
ARGS:
9-
datalab-id The unique identifier of the Data Lab
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
9+
datalab-id The unique identifier of the cluster
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil)
1111

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ USAGE:
66
scw datalab datalab list [arg=value ...]
77

88
ARGS:
9-
[project-id] The unique identifier of the project whose Data Labs you want to list.
10-
[name] The name of the Data Lab you want to list.
11-
[tags.{index}] The tags associated with the Data Lab you want to list.
9+
[project-id] The unique identifier of the project whose clusters you want to list.
10+
[name] The name of the cluster you want to list.
11+
[tags.{index}] The tags associated with the cluster you want to list.
1212
[order-by] The order by field, available options are `name_asc`, `name_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc`. (name_asc | name_desc | created_at_asc | created_at_desc | updated_at_asc | updated_at_desc)
13-
[organization-id] The unique identifier of the organization whose Data Labs you want to list.
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
13+
[organization-id] The unique identifier of the organization whose clusters you want to list.
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | all)
1515

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

cmd/scw/testdata/test-all-usage-datalab-datalab-update-usage.golden

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ USAGE:
66
scw datalab datalab update [arg=value ...]
77

88
ARGS:
9-
datalab-id The unique identifier of the Data Lab.
10-
[name] The updated name of the Data Lab.
11-
[description] The updated description of the Data Lab.
12-
[tags.{index}] The updated tags of the Data Lab.
13-
[node-count] The updated node count of the Data Lab. Scale up or down the number of worker nodes.
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
9+
datalab-id The unique identifier of the cluster.
10+
[name] The updated name of the cluster.
11+
[description] The updated description of the cluster.
12+
[tags.{index}] The updated tags of the cluster.
13+
[node-count] The updated node count of the cluster. Scale up or down the number of worker nodes.
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil)
1515

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

cmd/scw/testdata/test-all-usage-datalab-datalab-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Manage your Data Labs.
3+
Manage your clusters.
44

55
USAGE:
66
scw datalab datalab <command>

cmd/scw/testdata/test-all-usage-datalab-node-type-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 order by field. Available fields are `name_asc`, `name_desc`, `vcpus_asc`, `vcpus_desc`, `memory_gigabytes_asc`, `memory_gigabytes_desc`, `vram_bytes_asc`, `vram_bytes_desc`, `gpus_asc`, `gpus_desc`. (name_asc | name_desc | vcpus_asc | vcpus_desc | memory_gigabytes_asc | memory_gigabytes_desc | vram_bytes_asc | vram_bytes_desc | gpus_asc | gpus_desc)
1010
[targets.{index}] Filter based on the target of the nodes. Allows to filter the nodes based on their purpose which can be main or worker node. (unknown_target | notebook | worker)
1111
[resource-type] Filter based on node type ( `cpu`/`gpu`/`all` ). (all | gpu | cpu)
12-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | all)
1313

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

cmd/scw/testdata/test-all-usage-datalab-notebook-version-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
[order-by] The order by field. Available options are `name_asc` and `name_desc`. (name_asc | name_desc)
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | all)
1111

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

0 commit comments

Comments
 (0)