pub struct GoScan<'a> {
pub govulncheck: Option<&'a Path>,
pub sandbox: SandboxPolicy,
pub vuln_db: Option<&'a str>,
pub offline: bool,
}Expand description
Everything the Go scan path needs, bundled so it threads through the fleet walk as
one argument. govulncheck is None when consent/binary are absent, which routes
the repo to the toolchain-free Tier-C matcher (or an errored gap); the rest mirror
fleetreach_go::GoScanOptions.
Fields§
§govulncheck: Option<&'a Path>§sandbox: SandboxPolicy§vuln_db: Option<&'a str>§offline: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GoScan<'a>
impl<'a> RefUnwindSafe for GoScan<'a>
impl<'a> Send for GoScan<'a>
impl<'a> Sync for GoScan<'a>
impl<'a> Unpin for GoScan<'a>
impl<'a> UnsafeUnpin for GoScan<'a>
impl<'a> UnwindSafe for GoScan<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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