canic-host 0.110.43

Host-side App build and desired-state Fleet reconciliation library for Canic workspaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Actual infrastructure custody observed through the operator's management authority.

use crate::fleet_ensure::model::capacity_import::survey::CapacityImportSampleRecord;
use canic_core::dto::fleet_registry::FleetRegistry;
use std::collections::BTreeMap;

/// A complete source sample; missing Coordinator identity is permitted only for reviewed creation.
#[derive(Clone, Debug)]
pub struct InfrastructureBootstrapObservation {
    pub canisters: BTreeMap<String, Option<CapacityImportSampleRecord>>,
    pub coordinator_registry: Option<FleetRegistry>,
    pub operator_cycles: u128,
    pub ledger_fee_cycles: u128,
}