Skip to content

Commit

Permalink
feat(function): add support for node18 (#2335)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Léone <rleone@scaleway.com>
  • Loading branch information
scaleway-bot and remyleone committed Jun 6, 2022
1 parent 762e658 commit e5cef4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARGS:
[environment-variables.value.{key}]
[min-scale]
[max-scale]
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118)
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18)
[memory-limit]
[timeout.seconds]
[timeout.nanos]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARGS:
[environment-variables.value.{key}]
[min-scale]
[max-scale]
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118)
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18)
[memory-limit]
[timeout.seconds]
[timeout.nanos]
Expand Down
4 changes: 2 additions & 2 deletions docs/commands/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ scw function function create [arg=value ...]
| environment-variables.value.{key} | | |
| min-scale | | |
| max-scale | | |
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118` | |
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18` | |
| memory-limit | | |
| timeout.seconds | | |
| timeout.nanos | | |
Expand Down Expand Up @@ -276,7 +276,7 @@ scw function function update <function-id ...> [arg=value ...]
| environment-variables.value.{key} | | |
| min-scale | | |
| max-scale | | |
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118` | |
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18` | |
| memory-limit | | |
| timeout.seconds | | |
| timeout.nanos | | |
Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/function/v1beta1/function_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ func functionFunctionCreate() *core.Command {
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118"},
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18"},
},
{
Name: "memory-limit",
Expand Down Expand Up @@ -594,7 +594,7 @@ func functionFunctionUpdate() *core.Command {
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118"},
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18"},
},
{
Name: "memory-limit",
Expand Down

0 comments on commit e5cef4c

Please sign in to comment.