Skip to main content

connect_remote_deploy

Function connect_remote_deploy 

Source
pub async fn connect_remote_deploy(
    configuration: &Configuration,
    workspace: &str,
    connect_remote_deploy_request: ConnectRemoteDeployRequest,
) -> Result<RemoteDeployConnection, Error<ConnectRemoteDeployError>>
Expand description

The token is checked against the target’s whoami before it is stored. target names the target the token was obtained for, and the request is refused if the workspace now points elsewhere, so a token is never sent to an instance it was not meant for.