Skip to main content

Module server

Module server 

Source
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 with Server::new, chain the options, then call Server::serve; with no options it serves exactly like serve. 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.