pub struct DiscoveredBinary {
pub agent_id: String,
pub binary_name: String,
pub path: PathBuf,
pub version: Option<String>,
pub status: DiscoveryStatus,
pub capabilities: AgentCapabilities,
pub invocation: InvocationTemplate,
pub version_args: Vec<String>,
}Expand description
Outcome of discovery for one fingerprinted agent.
Fields§
§agent_id: String§binary_name: StringThe name actually found on $PATH (e.g. when the fingerprint
listed several aliases for the same binary, the one that matched).
path: PathBuf§version: Option<String>First non-empty line of the version probe’s stdout, trimmed.
status: DiscoveryStatus§capabilities: AgentCapabilities§invocation: InvocationTemplate§version_args: Vec<String>Args used to probe the binary’s version. Reused as the default
version_args on the resulting delegate’s health probe.
Implementations§
Source§impl DiscoveredBinary
impl DiscoveredBinary
pub fn is_available(&self) -> bool
Trait Implementations§
Source§impl Clone for DiscoveredBinary
impl Clone for DiscoveredBinary
Auto Trait Implementations§
impl Freeze for DiscoveredBinary
impl RefUnwindSafe for DiscoveredBinary
impl Send for DiscoveredBinary
impl Sync for DiscoveredBinary
impl Unpin for DiscoveredBinary
impl UnsafeUnpin for DiscoveredBinary
impl UnwindSafe for DiscoveredBinary
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