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 @@ -12,6 +12,7 @@ ARGS:
[description] Description of the namespace to create
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
[tags.{index}] [ALPHA] Tags of the Serverless Container Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARGS:
[description] Description of the namespace to update
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
[tags.{index}] [ALPHA] Tags of the Serverless Container Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ARGS:
[description] Description of the namespace
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
[tags.{index}] [ALPHA] Tags of the Serverless Function Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARGS:
[description] Description of the namespace
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
[tags.{index}] [ALPHA] Tags of the Serverless Function Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
Expand Down
2 changes: 2 additions & 0 deletions docs/commands/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ scw container namespace create [arg=value ...]
| description | | Description of the namespace to create |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
| tags.{index} | | [ALPHA] Tags of the Serverless Container Namespace |
| 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 |


Expand Down Expand Up @@ -551,6 +552,7 @@ scw container namespace update <namespace-id ...> [arg=value ...]
| description | | Description of the namespace to update |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
| tags.{index} | | [ALPHA] Tags of the Serverless Container Namespace |
| 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 |


Expand Down
2 changes: 2 additions & 0 deletions docs/commands/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ scw function namespace create [arg=value ...]
| description | | Description of the namespace |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
| tags.{index} | | [ALPHA] Tags of the Serverless Function Namespace |
| 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 |


Expand Down Expand Up @@ -580,6 +581,7 @@ scw function namespace update <namespace-id ...> [arg=value ...]
| description | | Description of the namespace |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
| tags.{index} | | [ALPHA] Tags of the Serverless Function Namespace |
| 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 |


Expand Down
14 changes: 14 additions & 0 deletions internal/namespaces/container/v1beta1/container_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ func containerNamespaceCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "tags.{index}",
Short: `[ALPHA] Tags of the Serverless Container Namespace`,
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -311,6 +318,13 @@ func containerNamespaceUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "tags.{index}",
Short: `[ALPHA] Tags of the Serverless Container Namespace`,
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down
14 changes: 14 additions & 0 deletions internal/namespaces/function/v1beta1/function_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,13 @@ func functionNamespaceCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "tags.{index}",
Short: `[ALPHA] Tags of the Serverless Function Namespace`,
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down Expand Up @@ -358,6 +365,13 @@ func functionNamespaceUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "tags.{index}",
Short: `[ALPHA] Tags of the Serverless Function Namespace`,
Required: false,
Deprecated: false,
Positional: false,
},
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down
Loading