Skip to main content

insert_deployment_clusters

Function insert_deployment_clusters 

Source
pub(super) async fn insert_deployment_clusters(
    client: &Client,
    deploy_id: &str,
    clusters: &[String],
) -> Result<(), ConnectionError>
Expand description

Insert cluster records for a staging deployment.

Accepts cluster names and resolves them to cluster IDs internally. Fails if any cluster names cannot be resolved (cluster doesn’t exist).