Skip to main content

xbp_deploy/
promotion.rs

1//! Promote helpers re-exported via runner; thin façade for callers.
2
3use std::sync::Arc;
4
5use xbp_oci::{DefaultOciPromoter, OciClient, OciPromoter};
6
7pub struct DefaultPromoter;
8
9impl DefaultPromoter {
10    pub fn from_client(client: OciClient) -> Arc<dyn OciPromoter> {
11        Arc::new(DefaultOciPromoter::new(client))
12    }
13}