Skip to main content

get_remote_deploy_target

Function get_remote_deploy_target 

Source
pub async fn get_remote_deploy_target(
    configuration: &Configuration,
    workspace: &str,
) -> Result<RemoteDeployStatus, Error<GetRemoteDeployTargetError>>
Expand description

Once connected, deploy calls aimed at the target go through /w/{workspace}/remote_deploy/proxy/{proxy_key}/{route}, which forwards any method to {base_url}/api/w/{target workspace}/{route} with the caller’s stored token.