Skip to content

创建函数

安装Knative函数后,可以使用 func 命令行或 kn func 插件创建函数项目:

func create -l <language> <function-name>

举例:

func create -l go hello
kn func create -l <language> <function-name>

例子:

kn func create -l go hello

Expected output

Created go function in hello

有关函数 create 命令选项的更多信息,请参阅func create文档。

Back to top

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK