pub struct DaemonConfig {
pub daemon_version: DaemonConfig_DaemonVersion,
pub self_actor: ActorId,
pub listen: DaemonConfig_Listen,
pub vault: DaemonConfig_Vault,
pub contract_path: String,
pub proof_log_path: String,
pub http: Option<DaemonConfig_Http>,
pub approval_queue: Option<DaemonConfig_ApprovalQueue>,
pub profile: Option<String>,
pub enforcement_level: Option<EnforcementLevel>,
pub admin: Option<DaemonConfig_Admin>,
}Expand description
Configuration file for a running tf-daemon instance (.tf/daemon.yaml).
Fields§
§daemon_version: DaemonConfig_DaemonVersionVersion of the daemon-config schema itself.
self_actor: ActorIdActor URI the daemon presents during the session handshake.
listen: DaemonConfig_ListenTransport bind settings for the daemon.
vault: DaemonConfig_VaultOn-disk vault location.
contract_path: StringPath to the agent-contract YAML this daemon enforces.
proof_log_path: StringPath to the .tflog file the daemon appends to.
http: Option<DaemonConfig_Http>v1 local HTTP endpoint exposure. TCP listeners require bearer auth; Unix-domain sockets are local-decision sockets guarded by filesystem/group/peer trust.
approval_queue: Option<DaemonConfig_ApprovalQueue>Approval-queue tuning.
profile: Option<String>Conformance profile this daemon claims at startup. The runtime FeatureGate refuses to boot when the profile’s MUST entries are not all satisfied.
enforcement_level: Option<EnforcementLevel>Default EnforcementLevel for the daemon’s AgentGuard. See DECISIONS.md “Progressive enforcement”.
admin: Option<DaemonConfig_Admin>Local admin HTTP endpoint. Disabled when omitted.
Trait Implementations§
Source§impl Clone for DaemonConfig
impl Clone for DaemonConfig
Source§fn clone(&self) -> DaemonConfig
fn clone(&self) -> DaemonConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DaemonConfig
impl Debug for DaemonConfig
Source§impl<'de> Deserialize<'de> for DaemonConfig
impl<'de> Deserialize<'de> for DaemonConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DaemonConfig
Source§impl PartialEq for DaemonConfig
impl PartialEq for DaemonConfig
Source§fn eq(&self, other: &DaemonConfig) -> bool
fn eq(&self, other: &DaemonConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DaemonConfig
impl Serialize for DaemonConfig
impl StructuralPartialEq for DaemonConfig
Auto Trait Implementations§
impl Freeze for DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnsafeUnpin for DaemonConfig
impl UnwindSafe for DaemonConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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 more