get_deploy_app_volumes

Function get_deploy_app_volumes 

Source
pub async fn get_deploy_app_volumes(
    client: &WasmerClient,
    owner: impl Into<String>,
    name: impl Into<String>,
) -> Result<Vec<AppVolume>, Error>
Expand description

Retrieve the persistent AppVolume nodes of an app, including their S3 state and (for S3-enabled volumes) credentials.

Unlike get_app_volumes, which returns the active version’s volume descriptors (AppVersionVolume, keyed by the user-chosen name), this returns the persistent DeployApp.volumes nodes with the ids required to rotate S3 credentials or toggle the S3 endpoint per volume.