Skip to content

Commit 270f91a

Browse files
committed
feat: update generated APIs
1 parent eb63a03 commit 270f91a

11 files changed

+22
-52
lines changed

cmd/scw/testdata/test-all-usage-apple-silicon-usage.golden

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Scaleway Apple silicon as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
4-
5-
These dedicated Mac mini M1s are designed for developing, building, testing, and signing applications for Apple devices, including iPhones, iPads, Mac computers and much more.
6-
7-
Get set to explore, learn and build on a dedicated Mac mini M1 with more performance and speed than you ever thought possible.
8-
9-
**Apple silicon as a Service comes with a minimum allocation period of 24 hours**.
10-
11-
Mac mini and macOS are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
12-
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple under license.
13-
Scaleway is not affiliated with Apple Inc.
3+
Apple silicon API.
144

155
USAGE:
166
scw apple-silicon <command>

cmd/scw/testdata/test-all-usage-function-namespace-create-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-
Create a new namespace in a specified Organization or Proejct.
3+
Create a new namespace in a specified Organization or Project.
44

55
USAGE:
66
scw function namespace create [arg=value ...]

cmd/scw/testdata/test-all-usage-registry-tag-delete-usage.golden

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ USAGE:
77

88
ARGS:
99
tag-id UUID of the tag
10-
[force] If two tags share the same digest the deletion will fail unless this parameter is set to true
1110
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1211

12+
DEPRECATED ARGS:
13+
[force] If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated)
14+
1315
FLAGS:
1416
-h, --help help for delete
1517

cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Retrieve the list of emails sent from a specific domain or for a specific Project or Organization. You must specify the `region`.
4-
You can filter your emails in ascending or descending order using:
5-
- created_at
6-
- updated_at
7-
- status
8-
- mail_from
9-
- mail_rcpt
10-
- subject.
114

125
USAGE:
136
scw tem email list [arg=value ...]
@@ -22,6 +15,7 @@ ARGS:
2215
[mail-rcpt] (Optional) List emails sent to this recipient's email address
2316
[statuses.{index}] (Optional) List emails with any of these statuses (unknown | new | sending | sent | failed | canceled)
2417
[subject] (Optional) List emails with this subject
18+
[search] (Optional) List emails by searching to all fields
2519
[order-by] (Optional) List emails corresponding to specific criteria (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | status_desc | status_asc | mail_from_desc | mail_from_asc | mail_rcpt_desc | mail_rcpt_asc | subject_desc | subject_asc)
2620
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
2721

docs/commands/apple-silicon.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
<!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen -->
22
# Documentation for `scw apple-silicon`
3-
Scaleway Apple silicon as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
4-
5-
These dedicated Mac mini M1s are designed for developing, building, testing, and signing applications for Apple devices, including iPhones, iPads, Mac computers and much more.
6-
7-
Get set to explore, learn and build on a dedicated Mac mini M1 with more performance and speed than you ever thought possible.
8-
9-
**Apple silicon as a Service comes with a minimum allocation period of 24 hours**.
10-
11-
Mac mini and macOS are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
12-
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple under license.
13-
Scaleway is not affiliated with Apple Inc.
3+
Apple silicon API.
144

155
- [OS management commands](#os-management-commands)
166
- [Get an Operating System (OS)](#get-an-operating-system-(os))

docs/commands/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ Function namespace management commands.
496496

497497
### Create a new namespace
498498

499-
Create a new namespace in a specified Organization or Proejct.
499+
Create a new namespace in a specified Organization or Project.
500500

501501
**Usage:**
502502

docs/commands/registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ scw registry tag delete <tag-id ...> [arg=value ...]
335335
| Name | | Description |
336336
|------|---|-------------|
337337
| tag-id | Required | UUID of the tag |
338-
| force | | If two tags share the same digest the deletion will fail unless this parameter is set to true |
338+
| ~~force~~ | Deprecated | If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated) |
339339
| 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 |
340340

341341

docs/commands/tem.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,6 @@ scw tem email get-statistics [arg=value ...]
233233
### List emails
234234

235235
Retrieve the list of emails sent from a specific domain or for a specific Project or Organization. You must specify the `region`.
236-
You can filter your emails in ascending or descending order using:
237-
- created_at
238-
- updated_at
239-
- status
240-
- mail_from
241-
- mail_rcpt
242-
- subject.
243236

244237
**Usage:**
245238

@@ -262,6 +255,7 @@ scw tem email list [arg=value ...]
262255
| mail-rcpt | | (Optional) List emails sent to this recipient's email address |
263256
| statuses.{index} | One of: `unknown`, `new`, `sending`, `sent`, `failed`, `canceled` | (Optional) List emails with any of these statuses |
264257
| subject | | (Optional) List emails with this subject |
258+
| search | | (Optional) List emails by searching to all fields |
265259
| order-by | One of: `created_at_desc`, `created_at_asc`, `updated_at_desc`, `updated_at_asc`, `status_desc`, `status_asc`, `mail_from_desc`, `mail_from_asc`, `mail_rcpt_desc`, `mail_rcpt_asc`, `subject_desc`, `subject_asc` | (Optional) List emails corresponding to specific criteria |
266260
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |
267261

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/moby/buildkit v0.11.6
2828
github.com/opencontainers/go-digest v1.0.0
2929
github.com/pkg/errors v0.9.1
30-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230526161530-cf508019231d
30+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230531141414-6917249671ea
3131
github.com/spf13/cobra v1.7.0
3232
github.com/spf13/pflag v1.0.5
3333
github.com/stretchr/testify v1.8.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,8 @@ github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncj
499499
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
500500
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
501501
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
502-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230526161530-cf508019231d h1:qeI25+qrQ5MQaMFS2RgmAeAwUSWZSeYy5eYHnmW8vpk=
503-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230526161530-cf508019231d/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
502+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230531141414-6917249671ea h1:bg77funMyoZPqedi7BVMP/Aexd7EfIITScAFABz3Wzk=
503+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230531141414-6917249671ea/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
504504
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
505505
github.com/secure-systems-lab/go-securesystemslib v0.4.0 h1:b23VGrQhTA8cN2CbBw7/FulN9fTtqYUdS5+Oxzt+DUE=
506506
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=

0 commit comments

Comments
 (0)