pub struct PluginAdapter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Provider for PluginAdapter
impl Provider for PluginAdapter
fn fetch_pipelines<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DomainResult<Vec<Pipeline>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_run_history<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
limit: usize,
) -> Pin<Box<dyn Future<Output = DomainResult<Vec<PipelineRun>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_run_details<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
run_number: i64,
) -> Pin<Box<dyn Future<Output = DomainResult<PipelineRun>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn trigger_pipeline<'life0, 'async_trait>(
&'life0 self,
params: TriggerParams,
) -> Pin<Box<dyn Future<Output = DomainResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_run<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
run_number: i64,
) -> Pin<Box<dyn Future<Output = DomainResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn review_run<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
run_number: i64,
decision: ReviewDecision,
) -> Pin<Box<dyn Future<Output = DomainResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rerun_failed_jobs<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
run_number: i64,
) -> Pin<Box<dyn Future<Output = DomainResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rerun_run<'life0, 'life1, 'async_trait>(
&'life0 self,
pipeline_id: &'life1 str,
run_number: i64,
) -> Pin<Box<dyn Future<Output = DomainResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_workflow_parameters<'life0, 'life1, 'async_trait>(
&'life0 self,
workflow_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = DomainResult<Vec<WorkflowParameter>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_rate_limit<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DomainResult<Option<RateLimit>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn validate_credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DomainResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provider_type(&self) -> &str
fn capabilities(&self) -> &PluginCapabilities
fn renew_at(&self) -> Option<DateTime<Utc>>
fn status_source(&self) -> Option<&StatusSource>
fn check_health<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = DomainResult<Vec<ComponentHealth>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn log_dialect(&self) -> &'static dyn LogDialect
fn fetch_log_nodes<'life0, 'life1, 'async_trait>(
&'life0 self,
run: &'life1 PipelineRun,
) -> Pin<Box<dyn Future<Output = DomainResult<Vec<LogNode>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_log<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
run: &'life1 PipelineRun,
node_id: &'life2 str,
from: Option<&'life3 LogCursor>,
sink: &'life4 mut LogSink,
) -> Pin<Box<dyn Future<Output = DomainResult<LogRead>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn fetch_pipelines_paginated<'life0, 'async_trait>(
&'life0 self,
page: usize,
page_size: usize,
) -> Pin<Box<dyn Future<Output = DomainResult<PaginatedResponse<Pipeline>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for PluginAdapter
impl !UnwindSafe for PluginAdapter
impl Freeze for PluginAdapter
impl Send for PluginAdapter
impl Sync for PluginAdapter
impl Unpin for PluginAdapter
impl UnsafeUnpin for PluginAdapter
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more