Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new cron.

USAGE:
scw container cron create [arg=value ...]

ARGS:
[container-id]
[schedule]
[args]
[name]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for create

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the cron associated with the given id.

USAGE:
scw container cron update <cron-id ...> [arg=value ...]

ARGS:
cron-id
[container-id]
[schedule]
[args]
[name]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for update

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
2 changes: 2 additions & 0 deletions cmd/scw/testdata/test-all-usage-container-cron-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ USAGE:
scw container cron <command>

AVAILABLE COMMANDS:
create Create a new cron
delete Delete an existing cron
get Get a cron
list List all your crons
update Update an existing cron

FLAGS:
-h, --help help for cron
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new cron.

USAGE:
scw function cron create [arg=value ...]

ARGS:
[function-id]
[schedule]
[args]
[name]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for create

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the cron associated with the given id.

USAGE:
scw function cron update <cron-id ...> [arg=value ...]

ARGS:
cron-id
[function-id]
[schedule]
[args]
[name]
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
-h, --help help for update

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
2 changes: 2 additions & 0 deletions cmd/scw/testdata/test-all-usage-function-cron-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ USAGE:
scw function cron <command>

AVAILABLE COMMANDS:
create Create a new cron
delete Delete an existing cron
get Get a cron
list List all your crons
update Update an existing cron

FLAGS:
-h, --help help for cron
Expand Down
22 changes: 22 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-create-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a backend redirection.

USAGE:
scw lb route create [arg=value ...]

ARGS:
[frontend-id] Origin of redirection
[backend-id] Destination of destination
[match.sni] Server Name Indication TLS extension (SNI)
[match.host-header] HTTP host header to match
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
-h, --help help for create

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
19 changes: 19 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-delete-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Delete a backend redirection.

USAGE:
scw lb route delete <route-id ...> [arg=value ...]

ARGS:
route-id Route id to delete
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
-h, --help help for delete

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
19 changes: 19 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-get-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Get single backend redirection.

USAGE:
scw lb route get <route-id ...> [arg=value ...]

ARGS:
route-id Id of route to get
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
-h, --help help for get

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
20 changes: 20 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List all backend redirections.

USAGE:
scw lb route list [arg=value ...]

ARGS:
[order-by] Response order (created_at_asc | created_at_desc)
[frontend-id]
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all)

FLAGS:
-h, --help help for list

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
22 changes: 22 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-update-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Edit a backend redirection.

USAGE:
scw lb route update <route-id ...> [arg=value ...]

ARGS:
route-id Route id to update
[backend-id] Backend id of redirection
[match.sni] Server Name Indication TLS extension (SNI)
[match.host-header] HTTP host header to match
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
-h, --help help for update

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
24 changes: 24 additions & 0 deletions cmd/scw/testdata/test-all-usage-lb-route-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Route rules management commands.

USAGE:
scw lb route <command>

AVAILABLE COMMANDS:
create Create a backend redirection
delete Delete a backend redirection
get Get single backend redirection
list List all backend redirections
update Edit a backend redirection

FLAGS:
-h, --help help for route

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw lb route [command] --help" for more information about a command.
1 change: 1 addition & 0 deletions cmd/scw/testdata/test-all-usage-lb-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ AVAILABLE COMMANDS:
lb Load balancer management commands
lb-types Load balancer types management commands
private-network Private networks management commands
route Route rules management commands

FLAGS:
-h, --help help for lb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ARGS:
[match.http-filter-option] A exra parameter. You can use this field with http_header_match acl type to set the header name to filter
[match.invert] If set to `true`, the ACL matching condition will be of type "UNLESS"
index Order between your Acls (ascending order, 0 is first acl executed)
[description] Description of your ACL ressource
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
Expand Down
1 change: 1 addition & 0 deletions cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ARGS:
[acls.{index}.match.http-filter-option] A exra parameter. You can use this field with http_header_match acl type to set the header name to filter
[acls.{index}.match.invert] If set to `true`, the ACL matching condition will be of type "UNLESS"
acls.{index}.index Order between your Acls (ascending order, 0 is first acl executed)
[acls.{index}.description] Description of your ACL ressource
frontend-id The Frontend to change ACL to
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ARGS:
[match.http-filter-option] A exra parameter. You can use this field with http_header_match acl type to set the header name to filter
[match.invert] If set to `true`, the ACL matching condition will be of type "UNLESS"
index Order between your Acls (ascending order, 0 is first acl executed)
[description] Description of your ACL ressource
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List local images from a specific image or version.

USAGE:
scw marketplace local-image list [arg=value ...]

ARGS:
[image-id]
[version-id]
[order-by] (created_at_asc | created_at_desc)
[image-label]
[zone]

FLAGS:
-h, --help help for list

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Marketplace Local Images management commands.

USAGE:
scw marketplace local-image <command>

AVAILABLE COMMANDS:
list List local images from a specific image or version

FLAGS:
-h, --help help for local-image

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw marketplace local-image [command] --help" for more information about a command.
1 change: 1 addition & 0 deletions cmd/scw/testdata/test-all-usage-marketplace-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ USAGE:

AVAILABLE COMMANDS:
image Marketplace images management commands
local-image Marketplace Local Images management commands

FLAGS:
-h, --help help for marketplace
Expand Down
Loading