ER
erikgb/function-usages
function-usages
This is an EXPERIMENTAL Crossplane composition function to simplify managing Crossplane usages to control deletion ordering in Crossplane compositions.
Development
To learn how to work with Crossplane functions:
- Follow the guide to writing a composition function in Go
- Learn about how composition functions work
- Read the function-sdk-go package documentation
This function uses Go, Docker, and the Crossplane CLI.
# Run code generation - see input/generate.go
$ go generate ./...
# Run tests - see fn_test.go
$ go test ./...
# Build the function's runtime image - see Dockerfile
$ docker build . --tag=runtime
# Build a function package - see package/crossplane.yaml
$ crossplane xpkg build -f package --embed-runtime-image=runtimeOn this page
Languages
Go88.8%Dockerfile11.2%
Contributors
Apache License 2.0
Created February 28, 2026
Updated March 1, 2026