Skip to main content

update_service_image_management_local

Function update_service_image_management_local 

Source
pub fn update_service_image_management_local(
    service: &mut Value,
    remove_image: &str,
    uploaded_media_url: Option<&str>,
    artifact_dir: Option<&Path>,
) -> bool
Expand description

Updates or removes a service image URL without accepting unsafe disk paths.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::business::update_service_image_management_local holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::business::update_service_image_management_local(todo!(), todo!(), todo!(), std::path::Path::new("build/dev_docs"));