Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 1.3 KB

from-code-to-function-28d3d70.md

File metadata and controls

28 lines (13 loc) · 1.3 KB

From Code to Function

Pick the programming language for your Function and decide where you want to keep the source code. The Serverless module uses it to create the workload.

Functions support programming languages by using the underlying execution environments known as runtimes. You can create both Node.js and Python Functions in Kyma.

Tip:

See sample Functions for each available runtime.

You can also choose where you want to keep your Function's source code and dependencies. You can either place them directly in the Function CR under the spec.source and spec.deps fields as an inline Function, or store the code and dependencies in a public or private Git repository (Git Functions). Choosing the second option ensures your Function is versioned and gives you more development freedom in the choice of a project structure or an IDE.

Tip:

Read more about Git Functions.