mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 14:05:23 +00:00
Add runtime option to function API (#228)
This commit is contained in:
@@ -72,6 +72,15 @@ export interface DeployRequest {
|
||||
project?: string;
|
||||
// github url to repo
|
||||
repo?: string;
|
||||
// runtime/language of the function
|
||||
// eg: php74,
|
||||
// nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16
|
||||
// dotnet3
|
||||
// java11
|
||||
// ruby26, ruby27
|
||||
// go111, go113, go116
|
||||
// python37, python38, python39
|
||||
runtime?: string;
|
||||
// optional subfolder path
|
||||
subfolder?: string;
|
||||
}
|
||||
@@ -89,6 +98,15 @@ export interface Func {
|
||||
project?: string;
|
||||
// git repo address
|
||||
repo?: string;
|
||||
// runtime/language of the function
|
||||
// eg: php74,
|
||||
// nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16
|
||||
// dotnet3
|
||||
// java11
|
||||
// ruby26, ruby27
|
||||
// go111, go113, go116
|
||||
// python37, python38, python39
|
||||
runtime?: string;
|
||||
// subfolder path to entrypoint
|
||||
subfolder?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user