func/cmd
Luke Kingland 9f6a135702
Python Middleware v2 Scaffolding (#2685)
* refactor python http template

* python http scaffolding

* add python to make update-runtimes

* integrate python scaffolding with func run

* python http template

* reorganize python scaffolding

* cancellation stopgap

* documentation and logging cleanup

* Python Middleware v2 - Scaffolding

* base layer cache

* remove wsgi and flask templates

Inbuilt templates should be limited to a base http and cloudevent
integration, with anything beyond this falling to the officially
supported functions samples repository.

* update python cloudevents runtime in makefile

* python cloudevents middleware

* add python .venvs to gitignore

* clean up venvs on make

* add missing dependencies to python http tempklate

* set python cloudevents manifest

* further cleanup of repository impl

* cleanup

* ignore venv when building runtime container

* set listen address on python container

* remove unnecessary python runtime update from makefile

* remove debug statements and improved comments

* enable scaffolding python funcs in s2i builder

* set listen address on all containers built by s2i

* python s2i integration

* regen fs

* cleanup

* enable host builder

* fix manifest inheritance

* regen fs

* bug fixes

* regen docs

* cleanup and linter error fixes

* conditional python host builder test

* misspellings

* disable python E2E

Until the Python middleware is supported by the Pack builder, the E2E
tests will need to be disabled.

* install python for presubmit tests

* use linux for test builder runs

The target platform for a test needs to be a platform which is available
in all test base images.  That's usually linux.  Using current OS would
fail, for example, building python containers on MacOS because the
official Python base image has no darwin layer.

* fix ineffasign

* set python ce template to python 3.9

* regen fs

* windows python tests

* python templates README
2025-04-02 10:44:05 +00:00
..
func allow go install knative.dev/func@{version} (#2220) 2024-03-13 02:27:10 +00:00
func-util Optimise func-utils image (#2686) 2025-02-06 07:02:13 +00:00
prompt add repository to the credentials prompt (#2596) 2024-12-02 16:22:45 +00:00
templates migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
testdata fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
build.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
build_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
completion.go cli help text updates and flags cleanup (#1564) 2023-03-01 09:35:54 +00:00
completion_util.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config.go src: errors cleanup (#1783) 2023-06-06 20:15:26 +00:00
config_envs.go docs: standardize env flag help suffix (#1689) 2023-04-25 13:56:45 +00:00
config_git.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_git_remove.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_git_set.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_labels.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_labels_test.go chore: align dependencies with Knative (#1942) 2023-08-29 18:32:31 +00:00
config_test.go feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
config_volumes.go Fixed PersistentVolumeClaim spelling error (#2069) 2023-11-07 21:28:46 +00:00
create.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
create_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
deploy.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
deploy_test.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
describe.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
describe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
environment.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
format.go chore: use dot as path default rather than absolute path (#1184) 2022-08-24 11:02:18 +00:00
invoke.go refactor data member of the InvokeMessage to be []byte (#2733) 2025-03-06 13:45:00 +00:00
invoke_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
languages.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
languages_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
repository.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
repository_test.go Fix test failures in OCP prow CI (#2503) 2024-09-16 06:57:35 +00:00
root.go Update golangci-lint (#2606) 2024-12-02 14:40:48 +00:00
root_test.go migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
run.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
run_test.go test for func run with digested image override (#2650) 2025-01-21 18:48:09 +00:00
subscribe.go 💄 make array when filters is nil (#2569) 2024-11-05 14:05:39 +00:00
subscribe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
templates.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
templates_test.go Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
tkn_tasks.go feat: embed tkn tasks in func binary (#2396) 2024-06-26 17:48:06 +00:00
version.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00