Skip to content

Commit fc02314

Browse files
authored
Merge branch 'scaleway:master' into master
2 parents 0a4f27e + 9bedc14 commit fc02314

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

cmd/scw/testdata/test-all-usage-container-container-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ARGS:
3131
[health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3232
[health-check.interval] Period between health checks.
3333
[tags.{index}] Tags of the Serverless Container
34-
[private-network-id]
34+
[private-network-id] ID of the Private Network the container is connected to.
3535
[command.{index}] Container command
3636
[args.{index}] Container arguments
3737
[deploy=true] Deploy container after creation

cmd/scw/testdata/test-all-usage-container-container-update-usage.golden

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ ARGS:
1717
[privacy] Privacy settings of the container (unknown_privacy | public | private)
1818
[description] Description of the container
1919
[registry-image] Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
20-
[protocol] (unknown_protocol | http1 | h2c)
21-
[port]
20+
[protocol] Protocol the container uses (unknown_protocol | http1 | h2c)
21+
[port] Port the container listens on
2222
[secret-environment-variables.{index}.key]
2323
[secret-environment-variables.{index}.value]
2424
[http-option] Configure how HTTP and HTTPS requests are handled (unknown_http_option | enabled | redirected)
@@ -31,7 +31,7 @@ ARGS:
3131
[health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3232
[health-check.interval] Period between health checks.
3333
[tags.{index}] Tags of the Serverless Container
34-
[private-network-id]
34+
[private-network-id] ID of the Private Network the container is connected to.
3535
[command.{index}] Container command
3636
[args.{index}] Container arguments
3737
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARGS:
1313
[secret-environment-variables.{index}.key]
1414
[secret-environment-variables.{index}.value]
1515
[tags.{index}] Tags of the Serverless Container Namespace
16-
[activate-vpc-integration]
16+
[activate-vpc-integration] Activate VPC integration for the namespace.
1717
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1818

1919
FLAGS:

docs/commands/container.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ scw container container create [arg=value ...]
8686
| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
8787
| health-check.interval | | Period between health checks. |
8888
| tags.{index} | | Tags of the Serverless Container |
89-
| private-network-id | | |
89+
| private-network-id | | ID of the Private Network the container is connected to. |
9090
| command.{index} | | Container command |
9191
| args.{index} | | Container arguments |
9292
| deploy | Default: `true` | Deploy container after creation |
@@ -205,8 +205,8 @@ scw container container update <container-id ...> [arg=value ...]
205205
| description | | Description of the container |
206206
| registry-image | | Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag"). |
207207
| ~~max-concurrency~~ | Deprecated | Number of maximum concurrent executions of the container |
208-
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | |
209-
| port | | |
208+
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | Protocol the container uses |
209+
| port | | Port the container listens on |
210210
| secret-environment-variables.{index}.key | | |
211211
| secret-environment-variables.{index}.value | | |
212212
| http-option | One of: `unknown_http_option`, `enabled`, `redirected` | Configure how HTTP and HTTPS requests are handled |
@@ -219,7 +219,7 @@ scw container container update <container-id ...> [arg=value ...]
219219
| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
220220
| health-check.interval | | Period between health checks. |
221221
| tags.{index} | | Tags of the Serverless Container |
222-
| private-network-id | | |
222+
| private-network-id | | ID of the Private Network the container is connected to. |
223223
| command.{index} | | Container command |
224224
| args.{index} | | Container arguments |
225225
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
@@ -483,7 +483,7 @@ scw container namespace create [arg=value ...]
483483
| secret-environment-variables.{index}.key | | |
484484
| secret-environment-variables.{index}.value | | |
485485
| tags.{index} | | Tags of the Serverless Container Namespace |
486-
| activate-vpc-integration | | |
486+
| activate-vpc-integration | | Activate VPC integration for the namespace. |
487487
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
488488

489489

internal/namespaces/container/v1beta1/container_cli.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ func containerNamespaceCreate() *core.Command {
279279
},
280280
{
281281
Name: "activate-vpc-integration",
282+
Short: `Activate VPC integration for the namespace.`,
282283
Required: false,
283284
Deprecated: false,
284285
Positional: false,
@@ -723,6 +724,7 @@ func containerContainerCreate() *core.Command {
723724
},
724725
{
725726
Name: "private-network-id",
727+
Short: `ID of the Private Network the container is connected to.`,
726728
Required: false,
727729
Deprecated: false,
728730
Positional: false,
@@ -859,6 +861,7 @@ func containerContainerUpdate() *core.Command {
859861
},
860862
{
861863
Name: "protocol",
864+
Short: `Protocol the container uses`,
862865
Required: false,
863866
Deprecated: false,
864867
Positional: false,
@@ -870,6 +873,7 @@ func containerContainerUpdate() *core.Command {
870873
},
871874
{
872875
Name: "port",
876+
Short: `Port the container listens on`,
873877
Required: false,
874878
Deprecated: false,
875879
Positional: false,
@@ -965,6 +969,7 @@ func containerContainerUpdate() *core.Command {
965969
},
966970
{
967971
Name: "private-network-id",
972+
Short: `ID of the Private Network the container is connected to.`,
968973
Required: false,
969974
Deprecated: false,
970975
Positional: false,

0 commit comments

Comments
 (0)