pub struct VerifiedFleetSnapshot {
pub fleet: Arc<FleetResolved>,
pub fleet_resolved_hash: String,
pub artifact_bytes: Vec<u8>,
pub signature_bytes: Vec<u8>,
}Expand description
(fleet, hash, raw_bytes) tuple under one lock prevents readers
seeing fresh fleet with stale hash or stale bytes. artifact_bytes +
signature_bytes are the canonical signed bytes the
cp_manifest_poll worker fetched + verified; the
/v1/fleet.resolved route serves them directly so agents see the
exact bytes CP verified, not stale closure-embedded content from the
--artifact flag.
Fields§
§fleet: Arc<FleetResolved>§fleet_resolved_hash: String§artifact_bytes: Vec<u8>§signature_bytes: Vec<u8>Trait Implementations§
Source§impl Clone for VerifiedFleetSnapshot
impl Clone for VerifiedFleetSnapshot
Source§fn clone(&self) -> VerifiedFleetSnapshot
fn clone(&self) -> VerifiedFleetSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifiedFleetSnapshot
impl RefUnwindSafe for VerifiedFleetSnapshot
impl Send for VerifiedFleetSnapshot
impl Sync for VerifiedFleetSnapshot
impl Unpin for VerifiedFleetSnapshot
impl UnwindSafe for VerifiedFleetSnapshot
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Mutably borrows from an owned value. Read more