pub struct DefaultDeployRunner {
pub k8s: Arc<dyn K8sAdapter>,
pub promoter: Option<Arc<dyn OciPromoter>>,
pub confirm: Option<Arc<dyn Fn(String) -> bool + Send + Sync>>,
}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.
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