File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ # Python
2+
3+ Python support consists of two templates, "http" and "cloudevents", and
4+ scaffolding which is used to connect user Functions to the func-python
5+ middleware.
6+
7+ When a user creates a new Python Function, either the "http" (default) or
8+ "cloudevents" template is written out as their new Function's initial state.
9+
10+ When a Function is built, such as on deploy, the contents of the scaffolding
11+ directory herein is written on-demand, effectively wrapping the user's
12+ Function in an app which uses the functions middleware to expose the Function
13+ as a service. This "scaffolded" Function is thus able to be containerized and
14+ deployed. see knative-extensions/func-python for the middleware, which
15+ includes examples.
16+
17+ The core templates are intentionally minimal. Additional templates can be used
18+ from templates repositories, such as the officially supported func-templates.
19+
20+ See the README.md in each directory for more information.
You can’t perform that action at this time.
0 commit comments