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
Expand Up @@ -6,16 +6,18 @@ USAGE:
scw edge-services backend-stage create [arg=value ...]

ARGS:
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
pipeline-id Pipeline ID the Backend stage belongs to
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
pipeline-id Pipeline ID the Backend stage belongs to
[scaleway-serverless-container.region]
[scaleway-serverless-container.container-id]

FLAGS:
-h, --help help for create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@ USAGE:
scw edge-services backend-stage update <backend-stage-id ...> [arg=value ...]

ARGS:
backend-stage-id ID of the backend stage to update
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
[pipeline-id] Pipeline ID the Backend stage belongs to
backend-stage-id ID of the backend stage to update
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
[pipeline-id] Pipeline ID the Backend stage belongs to
[scaleway-serverless-container.region]
[scaleway-serverless-container.container-id]

FLAGS:
-h, --help help for update
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/edge-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ scw edge-services backend-stage create [arg=value ...]
| scaleway-lb.lbs.{index}.domain-name | | Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer |
| scaleway-lb.lbs.{index}.has-websocket | | Defines whether to forward websocket requests to the load balancer |
| pipeline-id | Required | Pipeline ID the Backend stage belongs to |
| scaleway-serverless-container.region | | |
| scaleway-serverless-container.container-id | | |



Expand Down Expand Up @@ -174,6 +176,8 @@ scw edge-services backend-stage update <backend-stage-id ...> [arg=value ...]
| scaleway-lb.lbs.{index}.domain-name | | Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer |
| scaleway-lb.lbs.{index}.has-websocket | | Defines whether to forward websocket requests to the load balancer |
| pipeline-id | | Pipeline ID the Backend stage belongs to |
| scaleway-serverless-container.region | | |
| scaleway-serverless-container.container-id | | |



Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.26.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127153135-87311553a421
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127155323-7d5ea125dcd7
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.1
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127153135-87311553a421 h1:dh86GHLzpn8fTzjQ5TlKoN9OZBgSw0H4LX61v/2LnRw=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127153135-87311553a421/go.mod h1:h/elW4JdNo225GP5FZHJ/RPyCNz79lxaeub3PyGzE9o=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127155323-7d5ea125dcd7 h1:ytLZVvlGeh0Naqh0XIg7H+Q+3Umbu+3K0jjiuwmQTPw=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251127155323-7d5ea125dcd7/go.mod h1:h/elW4JdNo225GP5FZHJ/RPyCNz79lxaeub3PyGzE9o=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g=
Expand Down
24 changes: 24 additions & 0 deletions internal/namespaces/edge_services/v1beta1/edge_services_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,18 @@ func edgeServicesBackendStageCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-container.region",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-container.container-id",
Required: false,
Deprecated: false,
Positional: false,
},
},
Run: func(ctx context.Context, args any) (i any, e error) {
request := args.(*edge_services.CreateBackendStageRequest)
Expand Down Expand Up @@ -1391,6 +1403,18 @@ func edgeServicesBackendStageUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-container.region",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-container.container-id",
Required: false,
Deprecated: false,
Positional: false,
},
},
Run: func(ctx context.Context, args any) (i any, e error) {
request := args.(*edge_services.UpdateBackendStageRequest)
Expand Down
Loading