Expand description
A spec-compliant gRPC server runtime for composition functions.
Structs§
- Args
- CLI arguments required by the Crossplane composition function spec.
- Server
- A function server with options beyond the command-line
Args. Create it withServer::new, chain the options, then callServer::serve; with no options it serves exactly likeserve. New options arrive as new methods, so code that builds a server keeps compiling.
Functions§
- serve
- Starts a gRPC server and serves RunFunctionRequests until SIGTERM or SIGINT, then shuts down gracefully.