Skip to content

Commit ebbf6a8

Browse files
authored
feat(serverless): add Rust 1.65, python 3.11, go 1.19 (#2591)
1 parent d3bf03d commit ebbf6a8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARGS:
1111
[environment-variables.{key}]
1212
[min-scale]
1313
[max-scale]
14-
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18)
14+
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18 | rust165 | go119 | python311)
1515
[memory-limit]
1616
[timeout.seconds]
1717
[timeout.nanos]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARGS:
1010
[environment-variables.{key}]
1111
[min-scale]
1212
[max-scale]
13-
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18)
13+
[runtime] (unknown_runtime | golang | python | python3 | node8 | node10 | node14 | node16 | node17 | python37 | python38 | python39 | python310 | go113 | go117 | go118 | node18 | rust165 | go119 | python311)
1414
[memory-limit]
1515
[timeout.seconds]
1616
[timeout.nanos]

docs/commands/function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ scw function function create [arg=value ...]
215215
| environment-variables.{key} | | |
216216
| min-scale | | |
217217
| max-scale | | |
218-
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18` | |
218+
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311` | |
219219
| memory-limit | | |
220220
| timeout.seconds | | |
221221
| timeout.nanos | | |
@@ -373,7 +373,7 @@ scw function function update <function-id ...> [arg=value ...]
373373
| environment-variables.{key} | | |
374374
| min-scale | | |
375375
| max-scale | | |
376-
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18` | |
376+
| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311` | |
377377
| memory-limit | | |
378378
| timeout.seconds | | |
379379
| timeout.nanos | | |

internal/namespaces/function/v1beta1/function_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ func functionFunctionCreate() *core.Command {
512512
Required: false,
513513
Deprecated: false,
514514
Positional: false,
515-
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18"},
515+
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18", "rust165", "go119", "python311"},
516516
},
517517
{
518518
Name: "memory-limit",
@@ -622,7 +622,7 @@ func functionFunctionUpdate() *core.Command {
622622
Required: false,
623623
Deprecated: false,
624624
Positional: false,
625-
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18"},
625+
EnumValues: []string{"unknown_runtime", "golang", "python", "python3", "node8", "node10", "node14", "node16", "node17", "python37", "python38", "python39", "python310", "go113", "go117", "go118", "node18", "rust165", "go119", "python311"},
626626
},
627627
{
628628
Name: "memory-limit",

0 commit comments

Comments
 (0)