Skip to content

Commit dcc9702

Browse files
authored
feat: update generated APIs (#2515)
1 parent a5fb125 commit dcc9702

16 files changed

Lines changed: 35 additions & 33 deletions

cmd/scw/testdata/test-all-usage-config-set-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ARGS:
2121
[default-organization-id] A default Scaleway organization id
2222
[default-project-id] A default Scaleway project id
2323
[default-region] A default Scaleway region (fr-par | nl-ams | pl-waw)
24-
[default-zone] A default Scaleway zone (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1)
24+
[default-zone] A default Scaleway zone (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)
2525
[send-telemetry] Set to false to disable telemetry
2626

2727
FLAGS:

cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ARGS:
3030
[pools.{index}.container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio)
3131
[pools.{index}.autohealing] The enablement of the autohealing feature for the pool
3232
[pools.{index}.tags.{index}] The tags associated with the pool
33-
[pools.{index}.kubelet-args.{key}]
33+
[pools.{index}.kubelet-args.{key}] The Kubelet arguments to be used by this pool. Note that this feature is to be considered as experimental
3434
[pools.{index}.upgrade-policy.max-unavailable] The maximum number of nodes that can be not ready at the same time
3535
[pools.{index}.upgrade-policy.max-surge] The maximum number of nodes to be created during the upgrade
3636
[pools.{index}.zone] The Zone in which the Pool's node will be spawn in

cmd/scw/testdata/test-all-usage-k8s-pool-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ARGS:
2727
[container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio)
2828
[autohealing] The enablement of the autohealing feature for the pool
2929
[tags.{index}] The tags associated with the pool
30-
[kubelet-args.{key}]
30+
[kubelet-args.{key}] The Kubelet arguments to be used by this pool. Note that this feature is to be considered as experimental
3131
[upgrade-policy.max-unavailable]
3232
[upgrade-policy.max-surge]
3333
[zone] The Zone in which the Pool's node will be spawn in

cmd/scw/testdata/test-all-usage-vpc-gw-dhcp-delete-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Delete a DHCP configuration.
44

55
USAGE:
6-
scw vpc-gw dhcp delete <dhcpid ...> [arg=value ...]
6+
scw vpc-gw dhcp delete <dhcp-id ...> [arg=value ...]
77

88
ARGS:
9-
dhcpid DHCP config id to delete
9+
dhcp-id DHCP config id to delete
1010
[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 | pl-waw-1)
1111

1212
FLAGS:

cmd/scw/testdata/test-all-usage-vpc-gw-dhcp-get-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Get a DHCP configuration.
44

55
USAGE:
6-
scw vpc-gw dhcp get <dhcpid ...> [arg=value ...]
6+
scw vpc-gw dhcp get <dhcp-id ...> [arg=value ...]
77

88
ARGS:
9-
dhcpid ID of the DHCP config to fetch
9+
dhcp-id ID of the DHCP config to fetch
1010
[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 | pl-waw-1)
1111

1212
FLAGS:

cmd/scw/testdata/test-all-usage-vpc-gw-dhcp-update-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Update a DHCP configuration.
44

55
USAGE:
6-
scw vpc-gw dhcp update <dhcpid ...> [arg=value ...]
6+
scw vpc-gw dhcp update <dhcp-id ...> [arg=value ...]
77

88
ARGS:
9-
dhcpid DHCP config to update
9+
dhcp-id DHCP config to update
1010
[subnet] Subnet for the DHCP server
1111
[address] Address of the DHCP server. This will be the gateway's address in the private network
1212
[pool-low] Low IP (included) of the dynamic address pool

cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARGS:
99
[gateway-id] Gateway to connect
1010
[private-network-id] Private Network to connect
1111
[enable-masquerade] Whether to enable masquerade on this network
12-
[dhcpid] Existing configuration
12+
[dhcp-id] Existing configuration
1313
[address] Static IP address in CIDR format to to use without DHCP
1414
[enable-dhcp] Whether to enable DHCP on this Private Network
1515
[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 | pl-waw-1)

cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARGS:
1010
[gateway-id] Filter by gateway
1111
[private-network-id] Filter by private network
1212
[enable-masquerade] Filter by masquerade enablement
13-
[dhcpid] Filter by DHCP configuration
13+
[dhcp-id] Filter by DHCP configuration
1414
[status] Filter GatewayNetworks by this status (unknown for any) (unknown | created | attaching | configuring | ready | detaching | deleted)
1515
[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 | pl-waw-1)
1616

cmd/scw/testdata/test-all-usage-vpc-gw-gateway-network-update-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
gateway-network-id ID of the GatewayNetwork to update
1010
[enable-masquerade] New masquerade enablement
11-
[dhcpid] New DHCP configuration
11+
[dhcp-id] New DHCP configuration
1212
[enable-dhcp] Whether to enable DHCP on the connected Private Network
1313
[address] New static IP address
1414
[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 | pl-waw-1)

docs/commands/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ scw config set [arg=value ...]
184184
| default-organization-id | | A default Scaleway organization id |
185185
| default-project-id | | A default Scaleway project id |
186186
| default-region | One of: `fr-par`, `nl-ams`, `pl-waw` | A default Scaleway region |
187-
| default-zone | One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1` | A default Scaleway zone |
187+
| default-zone | One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | A default Scaleway zone |
188188
| send-telemetry | | Set to false to disable telemetry |
189189

190190

0 commit comments

Comments
 (0)