pub struct DefaultDeployRunner {
pub k8s: Arc<dyn K8sAdapter>,
pub promoter: Option<Arc<dyn OciPromoter>>,
pub confirm: Option<Arc<dyn Fn(String) -> bool + Send + Sync>>,
pub cloudflare: Option<Arc<dyn CloudflareDeployAdapter>>,
pub oci_build: Option<Arc<dyn OciBuildAdapter>>,
}Fields§
§k8s: Arc<dyn K8sAdapter>§promoter: Option<Arc<dyn OciPromoter>>§confirm: Option<Arc<dyn Fn(String) -> bool + Send + Sync>>Optional confirmation callback: returns true to proceed.
cloudflare: Option<Arc<dyn CloudflareDeployAdapter>>Optional Cloudflare adapter. Required only when the plan includes CF providers.
oci_build: Option<Arc<dyn OciBuildAdapter>>Optional docker build/push before k8s apply when services declare oci.dockerfile.
Trait Implementations§
Source§impl DeployRunner for DefaultDeployRunner
impl DeployRunner for DefaultDeployRunner
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 DeployContext,
plan: &'life2 DeployPlan,
) -> Pin<Box<dyn Future<Output = Result<DeployResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultDeployRunner
impl !UnwindSafe for DefaultDeployRunner
impl Freeze for DefaultDeployRunner
impl Send for DefaultDeployRunner
impl Sync for DefaultDeployRunner
impl Unpin for DefaultDeployRunner
impl UnsafeUnpin for DefaultDeployRunner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more