Commit Graph

6 Commits

Author SHA1 Message Date
Adam Wolfe Gordon 1c52a6ddca Use logging and error libraries from function-sdk-go
Remove our direct dependency on crossplane-runtime by using the error and
logging packages included in function-sdk-go in place of the ones from
crossplane-runtime. These packages behave identically to the crossplane-runtime
versions.

Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
2025-03-05 09:41:17 -07:00
Jared Watts a321d6ab42
chore(deps): update to function-sdk-go:v0.3.0
Signed-off-by: Jared Watts <jbw976@gmail.com>
2024-09-20 19:02:21 -07:00
dalton hill 0a78eb483e Update to sdk with condition functionality.
Adds comment demonstrating how to use status conditions to communicate
with claim authors.

Signed-off-by: dalton hill <dalton.hill.0@protonmail.com>
2024-09-03 14:43:07 -05:00
Nic Cope e5733a2e35 Copy linter config from crossplane/crossplane
This is the c/c linter config. The one exception is (hopefully) less
fussy sorting of crossplane related imports. It just wants all
crossplane org things in one block, and all contrib org things in
another block. This means folks won't need to update the linter config
when they use the template (e.g. to update the GCI prefixes).

Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-01 17:43:51 -07:00
Nic Cope 44b3fc66df Add an example directory
This is mostly useful to prompt function authors to have an example
directory, rather than to exercise the template code.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-10-31 23:39:02 -07:00
Nic Cope 3fac9fb79e Add a Function template
This is very early, but I want adventurous folks to be able to try Functions
out and give us feedback before they ship as beta with v1.14.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-09-12 21:46:07 -07:00