Skip to content

Commit d87eee8

Browse files
committed
feat: update generated APIs
1 parent 66e00a9 commit d87eee8

File tree

10 files changed

+28
-12
lines changed

10 files changed

+28
-12
lines changed

cmd/scw/testdata/test-all-usage-inference-model-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw inference model list [arg=value ...]
77

88
ARGS:
9-
[order-by] Order in which to return results (created_at_asc | created_at_desc | name_asc | name_desc)
9+
[order-by] Order in which to return results (display_rank_asc | created_at_asc | created_at_desc | name_asc | name_desc)
1010
[project-id] Filter by Project ID
1111
[name] Filter by model name
1212
[tags.{index}] Filter by tags

cmd/scw/testdata/test-all-usage-instance-snapshot-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ have one Instance with a volume containing the OS and another one
99
containing the application data, and you want to use different
1010
snapshot strategies on both volumes.
1111

12-
A snapshot's volume type is its original volume's type (`l_ssd` or `b_ssd`).
12+
A snapshot's volume type is its original volume's type (`l_ssd` or `b_ssd`).
1313
Volumes can be created from snapshots of their own type.
1414

1515
USAGE:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ USAGE:
77

88
AVAILABLE COMMANDS:
99
private-network Private network management command
10+
route Route management command
1011
routes Routes management command
1112
subnet Subnet management command
1213
vpc VPC management command

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
A Virtual Private Cloud (VPC) allows you to group your regional
4-
Private Networks together. Note that a Private Network can be a
3+
A Virtual Private Cloud (VPC) allows you to group your regional
4+
Private Networks together. Note that a Private Network can be a
55
part of only one VPC.
66

77
USAGE:

docs/commands/inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ scw inference model list [arg=value ...]
367367

368368
| Name | | Description |
369369
|------|---|-------------|
370-
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Order in which to return results |
370+
| order-by | One of: `display_rank_asc`, `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Order in which to return results |
371371
| project-id | | Filter by Project ID |
372372
| name | | Filter by model name |
373373
| tags.{index} | | Filter by tags |

docs/commands/instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@ have one Instance with a volume containing the OS and another one
24042404
containing the application data, and you want to use different
24052405
snapshot strategies on both volumes.
24062406

2407-
A snapshot's volume type is its original volume's type (`l_ssd` or `b_ssd`).
2407+
A snapshot's volume type is its original volume's type (`l_ssd` or `b_ssd`).
24082408
Volumes can be created from snapshots of their own type.
24092409

24102410

docs/commands/vpc.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This API allows you to manage your Virtual Private Clouds (VPCs) and Private Net
1010
- [List Private Networks](#list-private-networks)
1111
- [Migrate Private Networks from zoned to regional](#migrate-private-networks-from-zoned-to-regional)
1212
- [Update Private Network](#update-private-network)
13+
- [Route management command](#route-management-command)
1314
- [Routes management command](#routes-management-command)
1415
- [Return routes with associated next hop data](#return-routes-with-associated-next-hop-data)
1516
- [Subnet management command](#subnet-management-command)
@@ -184,6 +185,20 @@ scw vpc private-network update <private-network-id ...> [arg=value ...]
184185

185186

186187

188+
## Route management command
189+
190+
Custom routes.
191+
192+
Custom routes.
193+
194+
**Usage:**
195+
196+
```
197+
scw vpc route
198+
```
199+
200+
201+
187202
## Routes management command
188203

189204
Routes management command.
@@ -232,8 +247,8 @@ scw vpc subnet
232247

233248
## VPC management command
234249

235-
A Virtual Private Cloud (VPC) allows you to group your regional
236-
Private Networks together. Note that a Private Network can be a
250+
A Virtual Private Cloud (VPC) allows you to group your regional
251+
Private Networks together. Note that a Private Network can be a
237252
part of only one VPC.
238253

239254

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/mattn/go-isatty v0.0.20
2828
github.com/moby/buildkit v0.13.2
2929
github.com/opencontainers/go-digest v1.0.0
30-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353
30+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7
3131
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3232
github.com/spf13/cobra v1.8.1
3333
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
463463
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
465465
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353 h1:mt4lQcOcN4ceUUqxGm/SyMr3Nu8rdGJ5VxLTybEUyik=
467-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7 h1:OyB7qxaTxyQcmggkyTZBFhbTEHLemVObOY8x+i0+pqc=
467+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
468468
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
469469
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
470470
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/inference/v1beta1/inference_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ func inferenceModelList() *core.Command {
698698
Required: false,
699699
Deprecated: false,
700700
Positional: false,
701-
EnumValues: []string{"created_at_asc", "created_at_desc", "name_asc", "name_desc"},
701+
EnumValues: []string{"display_rank_asc", "created_at_asc", "created_at_desc", "name_asc", "name_desc"},
702702
},
703703
{
704704
Name: "project-id",

0 commit comments

Comments
 (0)