You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`FaasNet.CLI function -df <DIR>`|`DIR`: Visual studio solution directory. | Create a Docker File in the `DIR`|
12
+
|`FaasNet.CLI function -db <DIR> <OTHER_ARGS>`|`DIR`: Visual studio solution directory.<br />`OTHER_ARGS`: Other arguments passed to the command line `docker build`. | Build the Docker File |
13
+
|`FaasNet.CLI function -dp <DIR>`|`DIR`: Visual studio solution directory. | Push the docker image to the Docker hub |
14
+
|`FaasNet.CLI function deploy -name <NAME> -image <IMAGE> -version <VERSION>`|`NAME`: Name of the function.<br />`IMAGE`: Name of the Docker image.<br /> `VERSION`: Version of the Docker image. | Deploy a function |
15
+
|`FaasNet.CLI function -r <ID>`|`ID`: Identifier of the function. | Remove a function |
16
+
|`FaasNet.CLI function invoke -id <ID> -configuration <CONFIGURATION> -input <INPT>`|`ID`: Identifier of the function.<br />`CONFIGURATION`: Configuration of the function.<br />`INPT`: Parameters passed to the function. | Invoke a function |
17
+
|`FaasNet.CLI function configuration <ID>`|`ID`: Identifier of the function. | Get the configuration of the function |
Copy file name to clipboardExpand all lines: docs/documentation/functions/create.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,18 +69,18 @@ FaasNet.CLI function -dp <IMAGENAME>
69
69
Finally, execute the latest command line to deploy the function into the Gateway API. Replace the `FUNCTIONNAME` variable by the name of your function and replace the `IMAGENAME` variable by the name of your Docker image.
70
70
71
71
```
72
-
FaasNet.CLI function deploy -name <FUNCTIONAME> -image <IMAGENAME>
72
+
FaasNet.CLI function deploy -name <FUNCTIONAME> -image <IMAGENAME> -version latest
73
73
```
74
74
75
75
# Execute a function
76
76
77
77
> [!WARNING]
78
78
> Before you start, Make sure you have a function deployed in the Gateway API.
79
79
80
-
Execute the following command to invoke a function. Replace the `FUNCTIONNAME` variable by the name of your function.
80
+
Execute the following command to invoke a function. Replace the `FUNCTIONID` variable by the identifier of your function.
81
81
82
82
```
83
-
FaasNet.CLI function invoke -name <FUNCTIONNAME> -input {} -configuration {'firstName':'coucou'}
83
+
FaasNet.CLI function invoke -id <FUNCTIONID> -input {} -configuration {'firstName':'coucou'}
0 commit comments