pub struct GitLabProvider { /* private fields */ }Implementations§
Source§impl GitLabProvider
impl GitLabProvider
pub fn new() -> Self
Sourcepub fn with_config(config: GitLabConfig) -> Self
pub fn with_config(config: GitLabConfig) -> Self
Construct with an explicit config, bypassing env discovery. Used by the hosted team server’s managed connectors so each scheduled run carries its own credential without mutating process-global env (which would race across connectors).
Trait Implementations§
Source§impl ContextProvider for GitLabProvider
impl ContextProvider for GitLabProvider
Source§fn id(&self) -> &'static str
fn id(&self) -> &'static str
Unique identifier for this provider (e.g. “gitlab”, “github”, “jira”).
Source§fn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
Human-readable display name.
Source§fn supported_actions(&self) -> &[&str]
fn supported_actions(&self) -> &[&str]
Returns the actions this provider supports (e.g. “issues”, “mrs”, “pipelines”).
Source§fn execute(
&self,
action: &str,
params: &ProviderParams,
) -> Result<ProviderResult, String>
fn execute( &self, action: &str, params: &ProviderParams, ) -> Result<ProviderResult, String>
Execute a provider action and return structured results.
Source§fn cache_ttl_secs(&self) -> u64
fn cache_ttl_secs(&self) -> u64
TTL for caching results from this provider (in seconds).
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if the provider is configured and ready to serve requests.
Source§fn requires_auth(&self) -> bool
fn requires_auth(&self) -> bool
Whether this provider requires authentication.
Auto Trait Implementations§
impl Freeze for GitLabProvider
impl RefUnwindSafe for GitLabProvider
impl Send for GitLabProvider
impl Sync for GitLabProvider
impl Unpin for GitLabProvider
impl UnsafeUnpin for GitLabProvider
impl UnwindSafe for GitLabProvider
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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