Skip to main content

change_image

Function change_image 

Source
async fn change_image(
    state: &AppState,
    caller: Option<&Caller>,
    named: &str,
    image: &str,
) -> Result<Value, (StatusCode, String)>
Expand description

set_image for the agent named (an id or slug, open or not), asked for by caller. A container agent cannot change an image, its own included: like a container’s limits, that is for a host agent, the steward or the operator.