pub struct Fed {Show 18 fields
pub monetize_pubkey: Option<String>,
pub clock_key: Option<String>,
pub clock_peer: Option<String>,
pub sso_private_idp_cidrs: Option<String>,
pub sso_egress: bool,
pub sso_dns_resolver: Option<String>,
pub sells_room: bool,
pub fleet: Option<String>,
pub fleet_instance: Option<String>,
pub fleet_at: Option<String>,
pub fleet_ca: Option<String>,
pub smtp_url: Option<Withheld>,
pub smtp_from: Option<String>,
pub smtp_ca: Option<String>,
pub billing_url: Option<String>,
pub repair_auto: bool,
pub repair_key: Option<Withheld>,
pub egress: Option<String>,
}Expand description
What the door fed, as far as this box’s configuration goes.
Fields§
§monetize_pubkey: Option<String>§clock_key: Option<String>§clock_peer: Option<String>§sso_private_idp_cidrs: Option<String>FEED_SSO_PRIVATE_IDP_CIDRS, as fed.
sso_egress: boolFEED_SSO_EGRESS: exactly on, as fed; anything else is off.
sso_dns_resolver: Option<String>FEED_SSO_DNS_RESOLVER, as fed.
sells_room: boolFEED_SELLS_ROOM: exactly true, as fed; anything else is false.
fleet: Option<String>FEED_FLEET, as fed.
fleet_instance: Option<String>FEED_FLEET_INSTANCE, as fed.
fleet_at: Option<String>FEED_FLEET_AT, as fed.
fleet_ca: Option<String>FEED_FLEET_CA, as fed.
smtp_url: Option<Withheld>FEED_SMTP_URL, as fed: the relay a SOLD estate’s main mails through (P1). Its
Debug withholds it (it carries the submission token).
smtp_from: Option<String>FEED_SMTP_FROM, as fed.
smtp_ca: Option<String>FEED_SMTP_CA, as fed (a PEM root for the relay’s TLS).
billing_url: Option<String>FEED_BILLING_URL, as fed.
repair_auto: boolFEED_REPAIR_AUTO: exactly true, as fed; anything else is false.
repair_key: Option<Withheld>FEED_REPAIR_KEY, as fed (withheld from Debug).
egress: Option<String>FEED_EGRESS, as fed: an http:// door only.
Implementations§
Source§impl Fed
impl Fed
Sourcepub fn from_feed(feed: &BTreeMap<String, String>) -> Fed
pub fn from_feed(feed: &BTreeMap<String, String>) -> Fed
From the reply’s feed table. Blank values are absent. A value the
installer does not feed itself may reach this box as a VM’s OFFER,
fed onward as offer.<vm>.<key> (edda nordisk-pairing 0.3.1; since
0.4 the front’s keys — monetize’s verifying key, the clock key — come
that way): the plain key wins, then the first offer by VM name.
pub fn is_empty(&self) -> bool
Sourcepub fn read(root: &Path) -> Result<Option<Fed>>
pub fn read(root: &Path) -> Result<Option<Fed>>
<data>/pairing/joined.toml, if the loop has persisted one. Absent is
None; present and unreadable is an error — a persisted answer that
lies must not be quietly ignored.
Sourcepub fn current() -> Option<Fed>
pub fn current() -> Option<Fed>
The typed view of the feed in force on the shared bus
(nordisk-pairing feedbus::current); None before anything was published.
Trait Implementations§
impl Eq for Fed
impl StructuralPartialEq for Fed
Auto Trait Implementations§
impl Freeze for Fed
impl RefUnwindSafe for Fed
impl Send for Fed
impl Sync for Fed
impl Unpin for Fed
impl UnsafeUnpin for Fed
impl UnwindSafe for Fed
Blanket Implementations§
impl<T> Allocation for T
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
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<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> 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> 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