Skip to content

Commit 4ac1aba

Browse files
committed
test: update cassettes and goldens
1 parent bd8effa commit 4ac1aba

File tree

56 files changed

+56682
-46391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+56682
-46391
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List all existing attachments in a specified region.
4+
By default, the attachments listed are ordered by creation date in ascending order. This can be modified using the `order_by` field.
5+
6+
USAGE:
7+
scw file attachment list [arg=value ...]
8+
9+
ARGS:
10+
[filesystem-id] UUID of the File Storage volume
11+
[resource-id] Filter by resource ID
12+
[resource-type] Filter by resource type (unknown_resource_type | instance_server)
13+
[zone] Filter by resource zone
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Attachment management.
4+
5+
USAGE:
6+
scw file attachment <command>
7+
8+
AVAILABLE COMMANDS:
9+
list List filesystems attachments
10+
11+
FLAGS:
12+
-h, --help help for attachment
13+
14+
GLOBAL FLAGS:
15+
-c, --config string The path to the config file
16+
-D, --debug Enable debug mode
17+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
18+
-p, --profile string The config profile to use
19+
20+
Use "scw file attachment [command] --help" for more information about a command.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
To create a new filesystem, you must specify a name, a size, and a project ID.
4+
5+
USAGE:
6+
scw file filesystem create [arg=value ...]
7+
8+
ARGS:
9+
name Name of the filesystem
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
size Filesystem size in bytes, with a granularity of 100 GB (10^11 bytes).
12+
[tags.{index}] List of tags assigned to the filesystem
13+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
15+
FLAGS:
16+
-h, --help help for create
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
You must specify the `filesystem_id` of the filesystem you want to delete.
4+
5+
USAGE:
6+
scw file filesystem delete <filesystem-id ...> [arg=value ...]
7+
8+
ARGS:
9+
filesystem-id UUID of the filesystem
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Retrieve all properties and current status of a specific filesystem identified by its ID.
4+
5+
USAGE:
6+
scw file filesystem get <filesystem-id ...> [arg=value ...]
7+
8+
ARGS:
9+
filesystem-id UUID of the filesystem
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Retrieve all filesystems in the specified region. By default, the filesystems listed are ordered by creation date in ascending order. This can be modified using the `order_by` field.
4+
5+
USAGE:
6+
scw file filesystem list [arg=value ...]
7+
8+
ARGS:
9+
[order-by] Criteria to use when ordering the list (created_at_asc | created_at_desc | name_asc | name_desc)
10+
[project-id] Filter by project ID
11+
[name] Filter the returned filesystems by their names
12+
[tags.{index}] Filter by tags. Only filesystems with one or more matching tags will be returned
13+
[organization-id] Filter by organization ID
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update the technical details of a filesystem, such as its name, tags or its new size.
4+
5+
USAGE:
6+
scw file filesystem update [arg=value ...]
7+
8+
ARGS:
9+
filesystem-id UUID of the filesystem
10+
[name] When defined, is the new name of the filesystem
11+
[size] Optional field for increasing the size of the filesystem (must be larger than the current size)
12+
[tags.{index}] List of tags assigned to the filesystem
13+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
15+
FLAGS:
16+
-h, --help help for update
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Filesystem management.
4+
5+
USAGE:
6+
scw file filesystem <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create a new filesystem
10+
delete Delete a detached filesystem
11+
get Get filesystem details
12+
list List all filesystems
13+
update Update filesystem properties
14+
15+
FLAGS:
16+
-h, --help help for filesystem
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
23+
24+
Use "scw file filesystem [command] --help" for more information about a command.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
This API allows you to manage your File Storage resources.
4+
5+
USAGE:
6+
scw file <command>
7+
8+
AVAILABLE COMMANDS:
9+
attachment Attachment management
10+
filesystem Filesystem management
11+
12+
FLAGS:
13+
-h, --help help for file
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
20+
21+
Use "scw file [command] --help" for more information about a command.

cmd/scw/testdata/test-all-usage-mongodb-instance-create-usage.cassette.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ interactions:
77
form: {}
88
headers:
99
User-Agent:
10-
- scaleway-sdk-go/v1.0.0-beta.33.0.20250516160029-3f13aad4f58a (go1.24.2; darwin;
11-
amd64) cli-e2e-test
10+
- scaleway-sdk-go/v1.0.0-beta.33.0.20250610132304-0ea56270b666 (go1.24.1; darwin;
11+
arm64) cli-e2e-test
1212
url: https://api.scaleway.com/mongodb/v1alpha1/regions/fr-par/versions
1313
method: GET
1414
response:
@@ -22,17 +22,17 @@ interactions:
2222
Content-Type:
2323
- application/json
2424
Date:
25-
- Mon, 19 May 2025 22:36:36 GMT
25+
- Wed, 11 Jun 2025 09:26:36 GMT
2626
Server:
27-
- Scaleway API Gateway (fr-par-3;edge01)
27+
- Scaleway API Gateway (fr-par-2;edge02)
2828
Strict-Transport-Security:
2929
- max-age=63072000
3030
X-Content-Type-Options:
3131
- nosniff
3232
X-Frame-Options:
3333
- DENY
3434
X-Request-Id:
35-
- aaaacbf5-1f08-4d9c-8a96-c7519a551691
35+
- 743f2163-b8bd-4cf3-af66-76456162b326
3636
status: 200 OK
3737
code: 200
3838
duration: ""

0 commit comments

Comments
 (0)