Skip to content

Commit 699e0ef

Browse files
chore: bump sdk (#5140)
Co-authored-by: Rémy Léone <rleone@scaleway.com>
1 parent 12ce1a6 commit 699e0ef

File tree

8 files changed

+42
-28
lines changed

8 files changed

+42
-28
lines changed

cmd/scw/testdata/test-all-usage-ipam-ip-list-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ARGS:
1616
[resource-name] Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned.
1717
[resource-id] Resource ID to filter for. Only IPs attached to this resource will be returned
1818
[resource-ids.{index}] Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned
19-
[resource-type] Resource type to filter for. Only IPs attached to this type of resource will be returned (unknown_type | custom | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic | llm_deployment | mgdb_instance | apple_silicon_server | apple_silicon_private_nic | serverless_container | serverless_function | vpn_gateway | ddl_datalab | kafka_cluster | bgp_endpoint | scbl_sedb_cluster)
20-
[resource-types.{index}] Resource types to filter for. Only IPs attached to these types of resources will be returned (unknown_type | custom | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic | llm_deployment | mgdb_instance | apple_silicon_server | apple_silicon_private_nic | serverless_container | serverless_function | vpn_gateway | ddl_datalab | kafka_cluster | bgp_endpoint | scbl_sedb_cluster)
19+
[resource-type] Resource type to filter for. Only IPs attached to this type of resource will be returned (unknown_type | custom | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic | llm_deployment | mgdb_instance | apple_silicon_server | apple_silicon_private_nic | serverless_container | serverless_function | vpn_gateway | ddl_datalab | kafka_cluster | bgp_endpoint | scbl_sedb_cluster | dtwh_deployment)
20+
[resource-types.{index}] Resource types to filter for. Only IPs attached to these types of resources will be returned (unknown_type | custom | instance_server | instance_ip | instance_private_nic | lb_server | fip_ip | vpc_gateway | vpc_gateway_network | k8s_node | k8s_cluster | rdb_instance | redis_cluster | baremetal_server | baremetal_private_nic | llm_deployment | mgdb_instance | apple_silicon_server | apple_silicon_private_nic | serverless_container | serverless_function | vpn_gateway | ddl_datalab | kafka_cluster | bgp_endpoint | scbl_sedb_cluster | dtwh_deployment)
2121
[mac-address] MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned
2222
[tags.{index}] Tags to filter for, only IPs with one or more matching tags will be returned
2323
[is-ipv6] Defines whether to filter only for IPv4s or IPv6s

docs/commands/ipam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ scw ipam ip list [arg=value ...]
111111
| resource-name | | Attached resource name to filter for, only IPs attached to a resource with this string within their name will be returned. |
112112
| resource-id | | Resource ID to filter for. Only IPs attached to this resource will be returned |
113113
| resource-ids.{index} | | Resource IDs to filter for. Only IPs attached to at least one of these resources will be returned |
114-
| resource-type | One of: `unknown_type`, `custom`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic`, `llm_deployment`, `mgdb_instance`, `apple_silicon_server`, `apple_silicon_private_nic`, `serverless_container`, `serverless_function`, `vpn_gateway`, `ddl_datalab`, `kafka_cluster`, `bgp_endpoint`, `scbl_sedb_cluster` | Resource type to filter for. Only IPs attached to this type of resource will be returned |
115-
| resource-types.{index} | One of: `unknown_type`, `custom`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic`, `llm_deployment`, `mgdb_instance`, `apple_silicon_server`, `apple_silicon_private_nic`, `serverless_container`, `serverless_function`, `vpn_gateway`, `ddl_datalab`, `kafka_cluster`, `bgp_endpoint`, `scbl_sedb_cluster` | Resource types to filter for. Only IPs attached to these types of resources will be returned |
114+
| resource-type | One of: `unknown_type`, `custom`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic`, `llm_deployment`, `mgdb_instance`, `apple_silicon_server`, `apple_silicon_private_nic`, `serverless_container`, `serverless_function`, `vpn_gateway`, `ddl_datalab`, `kafka_cluster`, `bgp_endpoint`, `scbl_sedb_cluster`, `dtwh_deployment` | Resource type to filter for. Only IPs attached to this type of resource will be returned |
115+
| resource-types.{index} | One of: `unknown_type`, `custom`, `instance_server`, `instance_ip`, `instance_private_nic`, `lb_server`, `fip_ip`, `vpc_gateway`, `vpc_gateway_network`, `k8s_node`, `k8s_cluster`, `rdb_instance`, `redis_cluster`, `baremetal_server`, `baremetal_private_nic`, `llm_deployment`, `mgdb_instance`, `apple_silicon_server`, `apple_silicon_private_nic`, `serverless_container`, `serverless_function`, `vpn_gateway`, `ddl_datalab`, `kafka_cluster`, `bgp_endpoint`, `scbl_sedb_cluster`, `dtwh_deployment` | Resource types to filter for. Only IPs attached to these types of resources will be returned |
116116
| mac-address | | MAC address to filter for. Only IPs attached to a resource with this MAC address will be returned |
117117
| tags.{index} | | Tags to filter for, only IPs with one or more matching tags will be returned |
118118
| is-ipv6 | | Defines whether to filter only for IPv4s or IPv6s |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/mattn/go-isatty v0.0.20
2424
github.com/moby/buildkit v0.25.2
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251029154854-a599ef194f4a
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251112085626-07500e4c9ab7
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.10.1
2929
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
464464
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
465465
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
466466
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
467-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251029154854-a599ef194f4a h1:hV/QEq3wgx5brT5CQQstOJ3XoT2/oBT4rSTGixl/Kig=
468-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251029154854-a599ef194f4a/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA=
467+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251112085626-07500e4c9ab7 h1:wNX0zhJJSya6OpoA7LYiJFm6ghM7vr2OjO2M53v9AdM=
468+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251112085626-07500e4c9ab7/go.mod h1:BBENv1W9QH4COViJkDJB/0D1T6CweMAkDP7XehRsHQ8=
469469
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
470470
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
471471
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/instance/v1/testdata/test-image-list-with-sbs-additional-volumes.golden

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ ID NAME STATE ZONE
1515
"1": {
1616
"id": "b0c3ad93-75a7-4f82-9ea8-8dcebd848bcb",
1717
"name": "",
18-
"export_uri": null,
1918
"size": 10000000000,
2019
"volume_type": "sbs_snapshot",
2120
"creation_date": null,
@@ -30,7 +29,6 @@ ID NAME STATE ZONE
3029
"2": {
3130
"id": "5eb8067c-0677-4995-83e0-aa7338792c99",
3231
"name": "",
33-
"export_uri": null,
3432
"size": 15000000000,
3533
"volume_type": "sbs_snapshot",
3634
"creation_date": null,

internal/namespaces/instance/v1/testdata/test-server-backup-with-sbs-volumes.golden

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Image.Zone fr-par-1
2626
"1": {
2727
"id": "ad343b28-b9d7-4fb4-9891-d699ae328da0",
2828
"name": "",
29-
"export_uri": null,
3029
"size": 0,
3130
"volume_type": "sbs_snapshot",
3231
"creation_date": null,
@@ -41,7 +40,6 @@ Image.Zone fr-par-1
4140
"2": {
4241
"id": "fd8828eb-cf05-41e7-847a-8d98a2b31a1e",
4342
"name": "",
44-
"export_uri": null,
4543
"size": 0,
4644
"volume_type": "sbs_snapshot",
4745
"creation_date": null,

internal/namespaces/ipam/v1/ipam_cli.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ func ipamIPList() *core.Command {
442442
"kafka_cluster",
443443
"bgp_endpoint",
444444
"scbl_sedb_cluster",
445+
"dtwh_deployment",
445446
},
446447
},
447448
{
@@ -477,6 +478,7 @@ func ipamIPList() *core.Command {
477478
"kafka_cluster",
478479
"bgp_endpoint",
479480
"scbl_sedb_cluster",
481+
"dtwh_deployment",
480482
},
481483
},
482484
{

internal/namespaces/webhosting/v1/testdata/test-list-offer-simple.golden

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
3-
ID NAME BILLING OPERATION PATH OPTIONS PRICE AVAILABLE CONTROL PANEL NAME END OF LIFE QUOTA WARNING REGION
4-
f5c2ae8f-7625-4bca-b711-b44bb3d08694 lite /webhosting/lite/fr-par 10 € 5.99 true cpanel false unknown_warning
5-
525098b0-c4bc-4e96-b656-8d6f68d8f52f lite /webhosting/lite/fr-par 10 € 5.99 true wordpress false unknown_warning
6-
d86c61a0-a9e9-11ec-b909-0242ac120002 personal /webhosting/personal/fr-par 10 € 9.99 true cpanel false unknown_warning
7-
4651a634-070f-47a3-8bf8-2c22ace80b9b personal /webhosting/personal/fr-par 10 € 9.99 true wordpress false unknown_warning
8-
de2426b4-a9e9-11ec-b909-0242ac120002 professional /webhosting/professional/fr-par 10 € 18.99 true cpanel false unknown_warning
9-
97b9988d-6551-4f91-ab3e-c2265d4abcba professional /webhosting/professional/fr-par 10 € 18.99 true wordpress false unknown_warning
10-
e1c1e6c6-a9e9-11ec-b909-0242ac120002 ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true cpanel false unknown_warning
11-
f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true wordpress false unknown_warning
12-
f5c2ae8f-7625-4bca-b711-b44bb3d08694 lite /webhosting/lite/fr-par 10 € 5.99 true cpanel false unknown_warning
13-
525098b0-c4bc-4e96-b656-8d6f68d8f52f lite /webhosting/lite/fr-par 10 € 5.99 true wordpress false unknown_warning
14-
d86c61a0-a9e9-11ec-b909-0242ac120002 personal /webhosting/personal/fr-par 10 € 9.99 true cpanel false unknown_warning
15-
4651a634-070f-47a3-8bf8-2c22ace80b9b personal /webhosting/personal/fr-par 10 € 9.99 true wordpress false unknown_warning
16-
de2426b4-a9e9-11ec-b909-0242ac120002 professional /webhosting/professional/fr-par 10 € 18.99 true cpanel false unknown_warning
17-
97b9988d-6551-4f91-ab3e-c2265d4abcba professional /webhosting/professional/fr-par 10 € 18.99 true wordpress false unknown_warning
18-
e1c1e6c6-a9e9-11ec-b909-0242ac120002 ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true cpanel false unknown_warning
19-
f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true wordpress false unknown_warning
3+
ID NAME BILLING OPERATION PATH OPTIONS PRICE AVAILABLE CONTROL PANEL NAME END OF LIFE QUOTA WARNING CONTROL PANELS REGION
4+
f5c2ae8f-7625-4bca-b711-b44bb3d08694 lite /webhosting/lite/fr-par 10 € 5.99 true cpanel false unknown_warning -
5+
525098b0-c4bc-4e96-b656-8d6f68d8f52f lite /webhosting/lite/fr-par 10 € 5.99 true wordpress false unknown_warning -
6+
d86c61a0-a9e9-11ec-b909-0242ac120002 personal /webhosting/personal/fr-par 10 € 9.99 true cpanel false unknown_warning -
7+
4651a634-070f-47a3-8bf8-2c22ace80b9b personal /webhosting/personal/fr-par 10 € 9.99 true wordpress false unknown_warning -
8+
de2426b4-a9e9-11ec-b909-0242ac120002 professional /webhosting/professional/fr-par 10 € 18.99 true cpanel false unknown_warning -
9+
97b9988d-6551-4f91-ab3e-c2265d4abcba professional /webhosting/professional/fr-par 10 € 18.99 true wordpress false unknown_warning -
10+
e1c1e6c6-a9e9-11ec-b909-0242ac120002 ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true cpanel false unknown_warning -
11+
f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true wordpress false unknown_warning -
12+
f5c2ae8f-7625-4bca-b711-b44bb3d08694 lite /webhosting/lite/fr-par 10 € 5.99 true cpanel false unknown_warning -
13+
525098b0-c4bc-4e96-b656-8d6f68d8f52f lite /webhosting/lite/fr-par 10 € 5.99 true wordpress false unknown_warning -
14+
d86c61a0-a9e9-11ec-b909-0242ac120002 personal /webhosting/personal/fr-par 10 € 9.99 true cpanel false unknown_warning -
15+
4651a634-070f-47a3-8bf8-2c22ace80b9b personal /webhosting/personal/fr-par 10 € 9.99 true wordpress false unknown_warning -
16+
de2426b4-a9e9-11ec-b909-0242ac120002 professional /webhosting/professional/fr-par 10 € 18.99 true cpanel false unknown_warning -
17+
97b9988d-6551-4f91-ab3e-c2265d4abcba professional /webhosting/professional/fr-par 10 € 18.99 true wordpress false unknown_warning -
18+
e1c1e6c6-a9e9-11ec-b909-0242ac120002 ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true cpanel false unknown_warning -
19+
f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par 10 € 29.99 true wordpress false unknown_warning -
2020
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
2121
[
2222
{
@@ -174,6 +174,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
174174
"control_panel_name": "cpanel",
175175
"end_of_life": false,
176176
"quota_warning": "unknown_warning",
177+
"control_panels": null,
177178
"region": ""
178179
},
179180
{
@@ -331,6 +332,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
331332
"control_panel_name": "wordpress",
332333
"end_of_life": false,
333334
"quota_warning": "unknown_warning",
335+
"control_panels": null,
334336
"region": ""
335337
},
336338
{
@@ -488,6 +490,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
488490
"control_panel_name": "cpanel",
489491
"end_of_life": false,
490492
"quota_warning": "unknown_warning",
493+
"control_panels": null,
491494
"region": ""
492495
},
493496
{
@@ -645,6 +648,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
645648
"control_panel_name": "wordpress",
646649
"end_of_life": false,
647650
"quota_warning": "unknown_warning",
651+
"control_panels": null,
648652
"region": ""
649653
},
650654
{
@@ -802,6 +806,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
802806
"control_panel_name": "cpanel",
803807
"end_of_life": false,
804808
"quota_warning": "unknown_warning",
809+
"control_panels": null,
805810
"region": ""
806811
},
807812
{
@@ -959,6 +964,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
959964
"control_panel_name": "wordpress",
960965
"end_of_life": false,
961966
"quota_warning": "unknown_warning",
967+
"control_panels": null,
962968
"region": ""
963969
},
964970
{
@@ -1116,6 +1122,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
11161122
"control_panel_name": "cpanel",
11171123
"end_of_life": false,
11181124
"quota_warning": "unknown_warning",
1125+
"control_panels": null,
11191126
"region": ""
11201127
},
11211128
{
@@ -1273,6 +1280,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
12731280
"control_panel_name": "wordpress",
12741281
"end_of_life": false,
12751282
"quota_warning": "unknown_warning",
1283+
"control_panels": null,
12761284
"region": ""
12771285
},
12781286
{
@@ -1430,6 +1438,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
14301438
"control_panel_name": "cpanel",
14311439
"end_of_life": false,
14321440
"quota_warning": "unknown_warning",
1441+
"control_panels": null,
14331442
"region": ""
14341443
},
14351444
{
@@ -1587,6 +1596,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
15871596
"control_panel_name": "wordpress",
15881597
"end_of_life": false,
15891598
"quota_warning": "unknown_warning",
1599+
"control_panels": null,
15901600
"region": ""
15911601
},
15921602
{
@@ -1744,6 +1754,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
17441754
"control_panel_name": "cpanel",
17451755
"end_of_life": false,
17461756
"quota_warning": "unknown_warning",
1757+
"control_panels": null,
17471758
"region": ""
17481759
},
17491760
{
@@ -1901,6 +1912,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
19011912
"control_panel_name": "wordpress",
19021913
"end_of_life": false,
19031914
"quota_warning": "unknown_warning",
1915+
"control_panels": null,
19041916
"region": ""
19051917
},
19061918
{
@@ -2058,6 +2070,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
20582070
"control_panel_name": "cpanel",
20592071
"end_of_life": false,
20602072
"quota_warning": "unknown_warning",
2073+
"control_panels": null,
20612074
"region": ""
20622075
},
20632076
{
@@ -2215,6 +2228,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
22152228
"control_panel_name": "wordpress",
22162229
"end_of_life": false,
22172230
"quota_warning": "unknown_warning",
2231+
"control_panels": null,
22182232
"region": ""
22192233
},
22202234
{
@@ -2372,6 +2386,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
23722386
"control_panel_name": "cpanel",
23732387
"end_of_life": false,
23742388
"quota_warning": "unknown_warning",
2389+
"control_panels": null,
23752390
"region": ""
23762391
},
23772392
{
@@ -2529,6 +2544,7 @@ f328bb60-18be-4e5a-9130-e199c660e74e ecommerce /webhosting/ecommerce/fr-par
25292544
"control_panel_name": "wordpress",
25302545
"end_of_life": false,
25312546
"quota_warning": "unknown_warning",
2547+
"control_panels": null,
25322548
"region": ""
25332549
}
25342550
]

0 commit comments

Comments
 (0)