pub struct CustomDockerHostProvider {
pub host: String,
}Expand description
RuntimeProvider for a raw DOCKER_HOST string supplied by the operator
(e.g. "tcp://localhost:2375" or "unix:///path/to/custom.sock").
Always reported as available — the operator opted in explicitly; failures
surface as docker CLI errors rather than probe misses.
Fields§
§host: StringTrait Implementations§
Source§impl RuntimeProvider for CustomDockerHostProvider
impl RuntimeProvider for CustomDockerHostProvider
Source§fn name(&self) -> &str
fn name(&self) -> &str
Short, stable identifier used in config keys and log output
(e.g.
"orbstack", "docker-desktop", "colima", "podman",
"docker", "custom").Source§fn available(&self) -> bool
fn available(&self) -> bool
True when the runtime can be used right now (socket exists, etc.).
Source§fn docker_host(&self) -> String
fn docker_host(&self) -> String
The value for the
DOCKER_HOST env var
(e.g. "unix:///…" or "tcp://localhost:2375").Auto Trait Implementations§
impl Freeze for CustomDockerHostProvider
impl RefUnwindSafe for CustomDockerHostProvider
impl Send for CustomDockerHostProvider
impl Sync for CustomDockerHostProvider
impl Unpin for CustomDockerHostProvider
impl UnsafeUnpin for CustomDockerHostProvider
impl UnwindSafe for CustomDockerHostProvider
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