Skip to content

Commit 9b1f199

Browse files
committed
feat: update generated APIs
1 parent 9db67d1 commit 9b1f199

18 files changed

+614
-119
lines changed

cmd/scw/testdata/test-all-usage-cockpit-managed-alerts-usage.golden

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
Managed alerts management commands.
44

55
USAGE:
6-
scw cockpit managed-alerts <command>
7-
8-
AVAILABLE COMMANDS:
9-
disable Disable managed alerts
10-
enable Enable managed alerts
6+
scw cockpit managed-alerts
117

128
FLAGS:
139
-h, --help help for managed-alerts
@@ -17,5 +13,3 @@ GLOBAL FLAGS:
1713
-D, --debug Enable debug mode
1814
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
1915
-p, --profile string The config profile to use
20-
21-
Use "scw cockpit managed-alerts [command] --help" for more information about a command.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Enable SAML Identity Provider for an Organization.
4+
5+
USAGE:
6+
scw iam organization enable-saml [arg=value ...]
7+
8+
ARGS:
9+
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
10+
11+
FLAGS:
12+
-h, --help help for enable-saml
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
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get SAML Identity Provider configuration of an Organization.
4+
5+
USAGE:
6+
scw iam organization get-saml [arg=value ...]
7+
8+
ARGS:
9+
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
10+
11+
FLAGS:
12+
-h, --help help for get-saml
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

cmd/scw/testdata/test-all-usage-iam-organization-usage.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
Organization-wide management commands.
44

55
USAGE:
6-
scw iam organization
6+
scw iam organization <command>
7+
8+
AVAILABLE COMMANDS:
9+
enable-saml Enable SAML Identity Provider for an Organization
10+
get-saml Get SAML Identity Provider configuration of an Organization
711

812
FLAGS:
913
-h, --help help for organization
@@ -13,3 +17,5 @@ GLOBAL FLAGS:
1317
-D, --debug Enable debug mode
1418
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
1519
-p, --profile string The config profile to use
20+
21+
Use "scw iam organization [command] --help" for more information about a command.
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+
Add a SAML certificate.
4+
5+
USAGE:
6+
scw iam saml-certificates add <saml-id ...> [arg=value ...]
7+
8+
ARGS:
9+
saml-id ID of the SAML configuration
10+
type Type of the SAML certificate (unknown_certificate_type | signing | encryption)
11+
content Content of the SAML certificate
12+
13+
FLAGS:
14+
-h, --help help for add
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete a SAML certificate.
4+
5+
USAGE:
6+
scw iam saml-certificates delete <certificate-id ...> [arg=value ...]
7+
8+
ARGS:
9+
certificate-id ID of the certificate to delete
10+
11+
FLAGS:
12+
-h, --help help for delete
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
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List SAML certificates.
4+
5+
USAGE:
6+
scw iam saml-certificates list <saml-id ...> [arg=value ...]
7+
8+
ARGS:
9+
saml-id ID of the SAML configuration
10+
11+
FLAGS:
12+
-h, --help help for list
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
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+
SAML Certificates management commands.
4+
5+
USAGE:
6+
scw iam saml-certificates <command>
7+
8+
AVAILABLE COMMANDS:
9+
add Add a SAML certificate
10+
delete Delete a SAML certificate
11+
list List SAML certificates
12+
13+
FLAGS:
14+
-h, --help help for saml-certificates
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
21+
22+
Use "scw iam saml-certificates [command] --help" for more information about a command.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Disable SAML Identity Provider for an Organization.
4+
5+
USAGE:
6+
scw iam saml delete <saml-id ...> [arg=value ...]
7+
8+
ARGS:
9+
saml-id ID of the SAML configuration
10+
11+
FLAGS:
12+
-h, --help help for delete
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
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+
Update SAML Identity Provider configuration.
4+
5+
USAGE:
6+
scw iam saml update <saml-id ...> [arg=value ...]
7+
8+
ARGS:
9+
saml-id ID of the SAML configuration
10+
[entity-id] Entity ID of the SAML Identity Provider
11+
[single-sign-on-url] Single Sign-On URL of the SAML Identity Provider
12+
13+
FLAGS:
14+
-h, --help help for update
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use

0 commit comments

Comments
 (0)