Function request_git_credentials
Source pub async fn request_git_credentials(
server: &str,
token: &Option<String>,
worker_id: Option<&str>,
workspace_id: &str,
operation: &str,
query: &GitCredentialQuery,
) -> Result<Option<GitCredentialMaterial>>
Expand description
Requests short-lived Git credentials from the A2A control plane.
Missing credentials return Ok(None) when the server responds with 404.
§Examples
ⓘlet creds = request_git_credentials(client, server, &token, None, "ws-1", "get", &query).await?;