pub struct GitLabPlugin { /* private fields */ }Implementations§
Source§impl GitLabPlugin
impl GitLabPlugin
Trait Implementations§
Source§impl Default for GitLabPlugin
impl Default for GitLabPlugin
Source§impl Plugin for GitLabPlugin
impl Plugin for GitLabPlugin
fn metadata(&self) -> &PluginMetadata
fn provider_type(&self) -> &str
fn status_source(&self) -> Option<&StatusSource>
fn initialize( &mut self, provider_id: i64, config: HashMap<String, String>, http_client: Option<Arc<Client>>, ) -> PluginResult<()>
fn validate_credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PluginResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_available_pipelines<'life0, 'async_trait>(
&'life0 self,
params: Option<PaginationParams>,
) -> Pin<Box<dyn Future<Output = PluginResult<PaginatedResponse<AvailablePipeline>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_organizations<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<Organization>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ids_with_ci<'life0, 'async_trait>(
&'life0 self,
ids: Vec<String>,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_available_pipelines_filtered<'life0, 'async_trait>(
&'life0 self,
org: Option<String>,
search: Option<String>,
params: Option<PaginationParams>,
) -> Pin<Box<dyn Future<Output = PluginResult<PaginatedResponse<AvailablePipeline>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_pipelines<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PluginResult<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 = PluginResult<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 = PluginResult<PipelineRun>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_log_nodes<'life0, 'life1, 'async_trait>(
&'life0 self,
run: RunRef<'life1>,
) -> Pin<Box<dyn Future<Output = PluginResult<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: RunRef<'life1>,
node_id: &'life2 str,
from: Option<&'life3 LogCursor>,
sink: &'life4 mut LogSink,
) -> Pin<Box<dyn Future<Output = PluginResult<LogRead>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn log_dialect(&self) -> &'static dyn LogDialect
fn fetch_workflow_parameters<'life0, 'life1, 'async_trait>(
&'life0 self,
_workflow_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<WorkflowParameter>>> + 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 = PluginResult<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 = PluginResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_agents<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<BuildAgent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_artifacts<'life0, 'life1, 'async_trait>(
&'life0 self,
_run_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<BuildArtifact>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_queues<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PluginResult<Vec<BuildQueue>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_migrations(&self) -> Vec<String>
fn client_options(&self, _config: &HashMap<String, String>) -> ClientOptions
fn check_health<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ComponentHealth>, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn fetch_pipeline_catalog<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PipelineCatalog, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn fetch_pipelines_paginated<'life0, 'async_trait>(
&'life0 self,
page: usize,
page_size: usize,
) -> Pin<Box<dyn Future<Output = Result<PaginatedResponse<Pipeline>, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn fetch_recent_runs<'life0, 'life1, 'async_trait>(
&'life0 self,
_pipeline_ids: &'life1 [String],
_limit: usize,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Vec<PipelineRun>>, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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 = Result<(), PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn rerun_failed_jobs<'life0, 'life1, 'async_trait>(
&'life0 self,
_pipeline_id: &'life1 str,
_run_number: i64,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn rerun_run<'life0, 'life1, 'async_trait>(
&'life0 self,
_pipeline_id: &'life1 str,
_run_number: i64,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn enable_pipeline<'life0, 'life1, 'async_trait>(
&'life0 self,
_pipeline_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn fetch_rate_limit<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<RateLimit>, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_field_options<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_field_key: &'life1 str,
_config: &'life2 HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn sign_in_client<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_config: &'life1 HashMap<String, String>,
_http_client: &'life2 Client,
) -> Pin<Box<dyn Future<Output = Result<SignInClient, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn sign_in_refresh_rejections(&self) -> &'static [SignInRefreshRejection]
fn check_permissions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PermissionStatus, PluginError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_feature_availability( &self, status: &PermissionStatus, ) -> Vec<FeatureAvailability>
Auto Trait Implementations§
impl !Freeze for GitLabPlugin
impl !RefUnwindSafe for GitLabPlugin
impl !UnwindSafe for GitLabPlugin
impl Send for GitLabPlugin
impl Sync for GitLabPlugin
impl Unpin for GitLabPlugin
impl UnsafeUnpin for GitLabPlugin
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