pub struct GcsProvider;Expand description
Google Cloud Storage bucket discovery.
Trait Implementations§
Source§impl CloudProvider for GcsProvider
impl CloudProvider for GcsProvider
Source§fn endpoint(&self, name: &str) -> String
fn endpoint(&self, name: &str) -> String
Returns the base URL for this provider. Defaults to the official production endpoint.
Can be overridden in tests to redirect to a mock server.
Source§fn probe<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
client: &'life1 Client,
name: &'life2 str,
target: &'life3 Target,
) -> Pin<Box<dyn Future<Output = Result<Vec<Finding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn probe<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
client: &'life1 Client,
name: &'life2 str,
target: &'life3 Target,
) -> Pin<Box<dyn Future<Output = Result<Vec<Finding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Probe
name as a candidate bucket/account name for this provider. Read moreAuto Trait Implementations§
impl Freeze for GcsProvider
impl RefUnwindSafe for GcsProvider
impl Send for GcsProvider
impl Sync for GcsProvider
impl Unpin for GcsProvider
impl UnsafeUnpin for GcsProvider
impl UnwindSafe for GcsProvider
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