pub struct GitHubProvider { /* private fields */ }Expand description
GitHub secret provider implementation
Implementations§
Trait Implementations§
Source§impl SecretProvider for GitHubProvider
impl SecretProvider for GitHubProvider
Source§fn provider_name(&self) -> &str
fn provider_name(&self) -> &str
Get provider name
Source§fn sync_secrets<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secrets: &'life1 [Secret],
targets: &'life2 [Target],
) -> Pin<Box<dyn Future<Output = Result<SyncResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn sync_secrets<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secrets: &'life1 [Secret],
targets: &'life2 [Target],
) -> Pin<Box<dyn Future<Output = Result<SyncResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Sync secrets to targets
Source§fn validate_access<'life0, 'life1, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, bool>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn validate_access<'life0, 'life1, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, bool>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Validate access to targets
Auto Trait Implementations§
impl Freeze for GitHubProvider
impl RefUnwindSafe for GitHubProvider
impl Send for GitHubProvider
impl Sync for GitHubProvider
impl Unpin for GitHubProvider
impl UnwindSafe for GitHubProvider
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