Skip to main content

desired_composite

Function desired_composite 

Source
pub fn desired_composite(rsp: &mut RunFunctionResponse) -> &mut Resource
Expand description

Gets the desired composite resource (XR), inserting an empty one when the response has none.

A function may only set the desired XR’s status; Crossplane ignores its desired metadata and spec. Write it with crate::resource::update_status.