pub struct EvgClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl EvgApiClient for EvgClient
impl EvgApiClient for EvgClient
Source§fn get_task<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EvgTask, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_task<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EvgTask, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get details about the given task.
Source§fn get_version<'life0, 'life1, 'async_trait>(
&'life0 self,
version_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EvgVersion, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_version<'life0, 'life1, 'async_trait>(
&'life0 self,
version_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EvgVersion, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get details about the given version.
Source§fn get_build<'life0, 'life1, 'async_trait>(
&'life0 self,
build_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<EvgBuild>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_build<'life0, 'life1, 'async_trait>(
&'life0 self,
build_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<EvgBuild>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get details about the given build.
Source§fn get_tests<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTest>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_tests<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTest>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the tests belonging to the given task.
Source§fn get_test_stats<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 str,
query: &'life2 EvgTestStatsRequest,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTestStats>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_test_stats<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 str,
query: &'life2 EvgTestStatsRequest,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTestStats>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get test stats for the given query.
Source§fn get_task_stats<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 str,
query: &'life2 EvgTaskStatsRequest,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTaskStats>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_task_stats<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 str,
query: &'life2 EvgTaskStatsRequest,
) -> Pin<Box<dyn Future<Output = Result<Vec<EvgTaskStats>, EvgError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get task stats for the given query.
Source§fn stream_versions(&self, project_id: &str) -> BoxedStream<EvgVersion>
fn stream_versions(&self, project_id: &str) -> BoxedStream<EvgVersion>
Stream version of an evergreen project.
Source§fn stream_user_patches(
&self,
user_id: &str,
limit: Option<usize>,
) -> BoxedStream<EvgPatch>
fn stream_user_patches( &self, user_id: &str, limit: Option<usize>, ) -> BoxedStream<EvgPatch>
Stream user patches of an evergreen project.
Source§fn stream_project_patches(
&self,
project_id: &str,
limit: Option<usize>,
) -> BoxedStream<EvgPatch>
fn stream_project_patches( &self, project_id: &str, limit: Option<usize>, ) -> BoxedStream<EvgPatch>
Stream patches of an evergreen project.
Source§fn stream_build_tasks(
&self,
build_id: &str,
status: Option<&str>,
) -> BoxedStream<EvgTask>
fn stream_build_tasks( &self, build_id: &str, status: Option<&str>, ) -> BoxedStream<EvgTask>
Stream tasks of an evergreen build.
Source§fn stream_log(&self, task: &EvgTask, log_name: &str) -> BoxedStream<String>
fn stream_log(&self, task: &EvgTask, log_name: &str) -> BoxedStream<String>
Stream the contents of a task level log.
Source§fn stream_test_log(&self, test: &EvgTest) -> BoxedStream<String>
fn stream_test_log(&self, test: &EvgTest) -> BoxedStream<String>
Stream the contents of a test level log.
Auto Trait Implementations§
impl Freeze for EvgClient
impl !RefUnwindSafe for EvgClient
impl Send for EvgClient
impl Sync for EvgClient
impl Unpin for EvgClient
impl !UnwindSafe for EvgClient
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