pub fn get_input<T: DeserializeOwned>(
req: &RunFunctionRequest,
) -> Result<T, Error>Expand description
Gets the function’s input from the request as a typed value.
Input is the function-defined config from the Composition’s
spec.pipeline[].input block. Crossplane never validates it, so
functions must - deserializing into a typed struct is the first line of
that validation. Returns Error::MissingInput when the pipeline step
has no input at all.