Skip to content

Commit ec91852

Browse files
committed
feat: update generated APIs
1 parent 34fc155 commit ec91852

12 files changed

+18
-6
lines changed

cmd/scw/testdata/test-all-usage-interlink-link-detach-policy-usage.golden

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ USAGE:
66
scw interlink link detach_policy <link-id ...> [arg=value ...]
77

88
ARGS:
9-
link-id ID of the link to detach a routing policy from
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
9+
link-id ID of the link to detach a routing policy from
10+
routing-policy-id ID of the routing policy to be detached
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1112

1213
FLAGS:
1314
-h, --help help for detach_policy

cmd/scw/testdata/test-all-usage-interlink-routing-policy-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ARGS:
1111
[tags.{index}] List of tags to apply to the routing policy
1212
[prefix-filter-in.{index}] IP prefixes to accept from the peer (ranges of route announcements to accept)
1313
[prefix-filter-out.{index}] IP prefix filters to advertise to the peer (ranges of routes to advertise)
14+
[is-ipv6] IP prefixes version of the routing policy
1415
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1516

1617
FLAGS:

cmd/scw/testdata/test-all-usage-interlink-routing-policy-list-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ARGS:
1010
[project-id] Project ID to filter for
1111
[name] Routing policy name to filter for
1212
[tags.{index}] Tags to filter for
13+
[ipv6] Filter for the routing policies based on IP prefixes version
1314
[organization-id] Organization ID to filter for
1415
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
1516

docs/commands/interlink.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ scw interlink link detach_policy <link-id ...> [arg=value ...]
153153
| Name | | Description |
154154
|------|---|-------------|
155155
| link-id | Required | ID of the link to detach a routing policy from |
156+
| routing-policy-id | Required | ID of the routing policy to be detached |
156157
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
157158

158159

@@ -416,6 +417,7 @@ scw interlink routing-policy create [arg=value ...]
416417
| tags.{index} | | List of tags to apply to the routing policy |
417418
| prefix-filter-in.{index} | | IP prefixes to accept from the peer (ranges of route announcements to accept) |
418419
| prefix-filter-out.{index} | | IP prefix filters to advertise to the peer (ranges of routes to advertise) |
420+
| is-ipv6 | | IP prefixes version of the routing policy |
419421
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
420422

421423

@@ -479,6 +481,7 @@ scw interlink routing-policy list [arg=value ...]
479481
| project-id | | Project ID to filter for |
480482
| name | | Routing policy name to filter for |
481483
| tags.{index} | | Tags to filter for |
484+
| ipv6 | | Filter for the routing policies based on IP prefixes version |
482485
| organization-id | | Organization ID to filter for |
483486
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config |
484487

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.13.2
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250606093415-2c91f5b7ce9b
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610132304-0ea56270b666
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.9.1
2929
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
466466
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
467467
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
468468
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
469-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250606093415-2c91f5b7ce9b h1:UsMzMZXodChxZH2xETu9+aaMwpb/BfRYGVDEa1mUXc8=
470-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250606093415-2c91f5b7ce9b/go.mod h1:zFWiHphneiey3s8HOtAEnGrRlWivNaxW5T6d5Xfco7g=
469+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610132304-0ea56270b666 h1:NYaPksM7wPC69Fe9VCUoYY8GYB1hplR6s5hO2PA9rSQ=
470+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610132304-0ea56270b666/go.mod h1:zFWiHphneiey3s8HOtAEnGrRlWivNaxW5T6d5Xfco7g=
471471
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
472472
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
473473
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/function/v1beta1/testdata/test-deploy-simple.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ Sandbox unknown_sandbox
4545
"created_at": null,
4646
"updated_at": null,
4747
"ready_at": null,
48-
"tags": null
48+
"tags": null,
49+
"private_network_id": null
4950
}

internal/namespaces/instance/v1/testdata/test-create-server-scratch-storage-default-scratch-storage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ EndOfService false
191191
"zone": "fr-par-2",
192192
"admin_password_encryption_ssh_key_id": null,
193193
"admin_password_encrypted_value": null,
194+
"filesystems": [],
194195
"end_of_service": false,
195196
"Warnings": null
196197
}

internal/namespaces/instance/v1/testdata/test-create-server-simple-default.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ EndOfService false
118118
"zone": "fr-par-1",
119119
"admin_password_encryption_ssh_key_id": null,
120120
"admin_password_encrypted_value": null,
121+
"filesystems": [],
121122
"end_of_service": false,
122123
"Warnings": null
123124
}

internal/namespaces/instance/v1/testdata/test-get-server-simple.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ ID MAC ADDRESS PRIVATE NETWORK NAME PRIVATE NETWORK ID
129129
"zone": "fr-par-1",
130130
"admin_password_encryption_ssh_key_id": null,
131131
"admin_password_encrypted_value": null,
132+
"filesystems": [],
132133
"end_of_service": false,
133134
"Volumes": [
134135
{

0 commit comments

Comments
 (0)