mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Improving certain CLI commands: init, run (#207)
* Consolidating route type utilization Fixes: #197 * Adding --version to fn init CLI command * Updating functions_go to 0.1.36 * Updating route init process * Updating tests * Adding "memory" CLI flag to fn run * Make CLI memory flag override what's in func.yaml * Get rid of default value for memory flag * Revert UX impact func.yaml remains the same, no nested maps
This commit is contained in:
committed by
Travis Reeder
parent
1730a7d094
commit
24eacbbbbf
@@ -36,6 +36,11 @@ position. You may use it to override the calculated route. If you plan to use
|
||||
`version` represents current version of the function. When deploying, it is
|
||||
appended to the image as a tag.
|
||||
|
||||
`runtime` represents programming language runtime (go, python3, java, etc.).
|
||||
|
||||
`build` (optional) is an array of local shell calls which are used to help
|
||||
building the function.
|
||||
|
||||
`type` (optional) allows you to set the type of the route. `sync`, for functions
|
||||
whose response are sent back to the requester; or `async`, for functions that
|
||||
are started and return a task ID to customer while it executes in background.
|
||||
@@ -54,9 +59,6 @@ this function calls.
|
||||
setup. These configuration options shall override application configuration
|
||||
during functions execution.
|
||||
|
||||
`build` (optional) is an array of local shell calls which are used to help
|
||||
building the function.
|
||||
|
||||
## Hot functions
|
||||
|
||||
hot functions support also adds two extra options to this configuration file.
|
||||
|
||||
Reference in New Issue
Block a user