pub trait FleetStore: Send + Sync {
// Required methods
fn record_dependency_events<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 RecordDependencyEventRequest,
) -> Pin<Box<dyn Future<Output = Result<RecordDependencyEventResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list_fleet_alerts<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 ListFleetAlertsQuery,
) -> Pin<Box<dyn Future<Output = Result<ListFleetAlertsResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn dependency_impact<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dep_name: &'life1 str,
query: &'life2 DependencyImpactQuery,
) -> Pin<Box<dyn Future<Output = Result<DependencyImpactResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Trait for fleet-wide dependency event storage operations.
Required Methods§
Sourcefn record_dependency_events<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 RecordDependencyEventRequest,
) -> Pin<Box<dyn Future<Output = Result<RecordDependencyEventResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn record_dependency_events<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 RecordDependencyEventRequest,
) -> Pin<Box<dyn Future<Output = Result<RecordDependencyEventResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Records dependency change events.
Sourcefn list_fleet_alerts<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 ListFleetAlertsQuery,
) -> Pin<Box<dyn Future<Output = Result<ListFleetAlertsResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_fleet_alerts<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 ListFleetAlertsQuery,
) -> Pin<Box<dyn Future<Output = Result<ListFleetAlertsResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Lists fleet-wide alerts (correlated regressions across projects).
Sourcefn dependency_impact<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dep_name: &'life1 str,
query: &'life2 DependencyImpactQuery,
) -> Pin<Box<dyn Future<Output = Result<DependencyImpactResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn dependency_impact<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dep_name: &'life1 str,
query: &'life2 DependencyImpactQuery,
) -> Pin<Box<dyn Future<Output = Result<DependencyImpactResponse, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Gets the impact of a specific dependency across projects.