Commit Graph

3 Commits

Author SHA1 Message Date
Nic Cope cf90450981 Use a more illustrative default example
Emitting a hello world result isn't very useful. Instead, show how to
compose an MR with some fields derived from the XR and some from the
input.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 21:44:22 -07:00
Nic Cope f109678951 Add an Input CRD
We don't currently have any conventions for strongly typed inputs in
Python. I expect that Python functions will just use struct_to_dict to
read their inputs as unstructured data. It's useful to demonstrate
having an input schema in the template, though. Places like
https://marketplace.upbound.io use this CRD schema to document a
function's input.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-09 16:59:18 -08:00
Nic Cope 1d5fe6ad6d Add function-template-python
Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-21 18:24:54 -08:00