pub struct DoctorInputs {
pub catalog: PathBuf,
pub policy: PathBuf,
pub bundle: PathBuf,
pub socket: String,
pub socket_mode: u32,
pub socket_group: Option<String>,
pub capability_policy: CapabilityPolicy,
pub invocation: InvocationRuntimeConfig,
pub unlock_passphrase_selected: bool,
pub unlock_bip39_selected: bool,
pub unlock_age_yubikey_selected: bool,
}Expand description
The resolved, non-secret inputs a doctor run needs.
Built by the binary from the same config/override resolution run uses, then
handed here so the check logic is free of clap/config-file plumbing.
Fields§
§catalog: PathBufPath to the exported catalog JSON.
policy: PathBufPath to the exported policy JSON.
bundle: PathBufPath to the 0600 sealed bundle.
socket: StringThe unix socket path the daemon would bind.
socket_mode: u32The configured socket mode (octal, e.g. 0o600).
socket_group: Option<String>The configured socket group (numeric gid or name), if any.
capability_policy: CapabilityPolicyThe backend-capability enforcement policy (strict / degraded / off).
invocation: InvocationRuntimeConfigThe resolved invocation-service runtime config, for offline broker-identity and key-binding validation.
unlock_passphrase_selected: boolWhether a passphrase unlock file is configured.
unlock_bip39_selected: boolWhether a bip39 break-glass phrase file is configured.
unlock_age_yubikey_selected: boolWhether the age-yubikey unlock slot is enabled.
Trait Implementations§
Source§impl Clone for DoctorInputs
impl Clone for DoctorInputs
Source§fn clone(&self) -> DoctorInputs
fn clone(&self) -> DoctorInputs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for DoctorInputs
impl RefUnwindSafe for DoctorInputs
impl Send for DoctorInputs
impl Sync for DoctorInputs
impl Unpin for DoctorInputs
impl UnsafeUnpin for DoctorInputs
impl UnwindSafe for DoctorInputs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request