Files
fission-src/Documentation/docs-site/content/concepts/functions.en.md
T
VishalandGitHub 1b1c4f1380 Documentation Revamp (#496)
Added a new documentation structure with details of concepts, tutorials and examples
2018-02-28 11:46:44 +05:30

747 B

title, draft, weight
title draft weight
Function true 31

A function is a piece of code that will be invoked based on a trigger. The code follows the Fission interface. In practice, the function is only an entry point for execution and it can be backed by a larger program or module.

A function is registered with Fission through a CLI and associated with a trigger. A function can be created based on a single source file or a source archive or a deployment archive.

It is possible to associate and use Kubernetes secrets and configmaps with a function.

Functions also accept minimum and maximum CPU and memory to be assigned, the behaviour of which varies based on executor types which are discussed in greater detail here