Skip to main content

desired_composed

Function desired_composed 

Source
pub fn desired_composed(
    rsp: &mut RunFunctionResponse,
    name: impl Into<String>,
) -> &mut Resource
Expand description

Gets a desired composed resource by name, inserting an empty one when the response has none.

The resource is modified in place, so whatever earlier pipeline steps desired for it, copied forward by to, is kept unless overwritten. Write it with crate::resource::update.