-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to write a Composition Function #579
Comments
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
/fresh we are tracking this in crossplane/crossplane#3751 |
This feels a little less important with crossplane/crossplane#4306, since everything will end up in the protobuf |
This is a first pass at a 'formal' spec for a Composition Function. I think it will be important for all Functions to behave in a similar way in order for us to build tooling around them. Relates to https://github.com/crossplane/crossplane/issues/3714 Signed-off-by: Nic Cope <[email protected]>
What problem are you facing?
We expect that there may be multiple Composition Function runner implementations. When designing Composition Functions we realized that it was tough to find a perfect solution considering all of the tradeoffs (running functions securely, running many functions, making guarantees around starting functions quickly, etc). We should provide guidance for folks who might want to implement their own Function runner.
We have a reference Composition Function runner (
xfn
) implementation, and strongly typed I/O in the form of aRunFunctionRequest
. We're missing (at least):RunFunctionRequest
into an OCI runtime spec.FunctionIO
to and from an OCI container.ENTRYPOINT
)How could Crossplane help solve your problem?
We might consider adding a specification to formally describe all these requirements.
The text was updated successfully, but these errors were encountered: