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,20 +6,16 @@ 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-serverless-container.region]
[scaleway-serverless-container.container-id]
[scaleway-serverless-function.region]
[scaleway-serverless-function.function-id]
[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

FLAGS:
-h, --help help for create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ 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
[scaleway-serverless-container.region]
[scaleway-serverless-container.container-id]
[scaleway-serverless-function.region]
[scaleway-serverless-function.function-id]
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

FLAGS:
-h, --help help for update
Expand Down
8 changes: 0 additions & 8 deletions docs/commands/edge-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ 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 | | |
| scaleway-serverless-function.region | | |
| scaleway-serverless-function.function-id | | |



Expand Down Expand Up @@ -180,10 +176,6 @@ 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 | | |
| scaleway-serverless-function.region | | |
| scaleway-serverless-function.function-id | | |



Expand Down
48 changes: 0 additions & 48 deletions internal/namespaces/edge_services/v1beta1/edge_services_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -1352,30 +1352,6 @@ 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,
},
{
Name: "scaleway-serverless-function.region",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-function.function-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 @@ -1504,30 +1480,6 @@ 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,
},
{
Name: "scaleway-serverless-function.region",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "scaleway-serverless-function.function-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