pub struct LocalDeployment { /* private fields */ }Trait Implementations§
Source§impl Clone for LocalDeployment
impl Clone for LocalDeployment
Source§fn clone(&self) -> LocalDeployment
fn clone(&self) -> LocalDeployment
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deployment for LocalDeployment
impl Deployment for LocalDeployment
fn new<'async_trait>() -> Pin<Box<dyn Future<Output = Result<Self, DeploymentError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn user_id(&self) -> &str
fn config(&self) -> &Arc<RwLock<Config>>
fn db(&self) -> &DBService
fn analytics(&self) -> &Option<AnalyticsService>
fn container(&self) -> &impl ContainerService
fn auth(&self) -> &AuthService
fn git(&self) -> &GitService
fn image(&self) -> &ImageService
fn filesystem(&self) -> &FilesystemService
fn msg_stores(&self) -> &Arc<RwLock<HashMap<Uuid, Arc<MsgStore>>>>
fn events(&self) -> &EventService
fn file_search_cache(&self) -> &Arc<FileSearchCache>
fn approvals(&self) -> &Approvals
fn drafts(&self) -> &DraftsService
fn forge_config(&self) -> &ForgeConfigService
fn omni(&self) -> &Arc<RwLock<OmniService>>
fn profile_cache(&self) -> &ProfileCacheManager
fn update_sentry_scope<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DeploymentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn spawn_pr_monitor_service<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = JoinHandle<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn track_if_analytics_allowed<'life0, 'life1, 'async_trait>(
&'life0 self,
event_name: &'life1 str,
properties: Value,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Source§fn cleanup_orphan_executions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DeploymentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn cleanup_orphan_executions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DeploymentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Cleanup executions marked as running in the db, call at startup
Source§fn backfill_before_head_commits<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DeploymentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn backfill_before_head_commits<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DeploymentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Backfill before_head_commit for legacy execution processes.
Rules: Read more
Source§fn trigger_auto_project_setup<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn trigger_auto_project_setup<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Trigger background auto-setup of default projects for new users
fn stream_events<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Pin<Box<dyn Stream<Item = Result<Event, Error>> + Send>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalDeployment
impl !RefUnwindSafe for LocalDeployment
impl Send for LocalDeployment
impl Sync for LocalDeployment
impl Unpin for LocalDeployment
impl !UnwindSafe for LocalDeployment
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more