Skip to content

Commit ab662c2

Browse files
committed
feat: update generated APIs
1 parent 90cce24 commit ab662c2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

cmd/scw/testdata/test-all-usage-iam-user-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARGS:
1010
[user-ids.{index}] Filter by list of IDs
1111
[mfa] Filter by MFA status
1212
[tag] Filter by tags containing a given string
13-
[status] Filter by user status (unknown_status | invitation_pending | activated)
13+
[type] Filter by user type (unknown_type | guest | owner | member)
1414
organization-id=<retrieved from config> ID of the Organization to filter
1515

1616
FLAGS:

docs/commands/iam.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ scw iam user list [arg=value ...]
11261126
| user-ids.{index} | | Filter by list of IDs |
11271127
| mfa | | Filter by MFA status |
11281128
| tag | | Filter by tags containing a given string |
1129-
| status | One of: `unknown_status`, `invitation_pending`, `activated` | Filter by user status |
1129+
| type | One of: `unknown_type`, `guest`, `owner`, `member` | Filter by user type |
11301130
| organization-id | Required<br />Default: `<retrieved from config>` | ID of the Organization to filter |
11311131

11321132

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/mattn/go-isatty v0.0.20
2626
github.com/moby/buildkit v0.13.2
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250310093050-33520b56cca0
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250312091247-697a13a38e06
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.9.1
3131
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
458458
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
459459
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
460460
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
461-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250310093050-33520b56cca0 h1:69KnOM1AP0kjGOS8J8H3cuR8CTbbl7lKMjPzMOp3tvw=
462-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250310093050-33520b56cca0/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
461+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250312091247-697a13a38e06 h1:SHt9tWyql2MPgr9f2sCgcLNhiWsGHMjGwePXQBAas38=
462+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250312091247-697a13a38e06/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
463463
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
464464
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
465465
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/iam/v1alpha1/iam_cli.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,12 +475,12 @@ func iamUserList() *core.Command {
475475
Positional: false,
476476
},
477477
{
478-
Name: "status",
479-
Short: `Filter by user status`,
478+
Name: "type",
479+
Short: `Filter by user type`,
480480
Required: false,
481481
Deprecated: false,
482482
Positional: false,
483-
EnumValues: []string{"unknown_status", "invitation_pending", "activated"},
483+
EnumValues: []string{"unknown_type", "guest", "owner", "member"},
484484
},
485485
{
486486
Name: "organization-id",

0 commit comments

Comments
 (0)