2026-02-08 21:29:17 +01:00
|
|
|
// Allow unused assignments for diagnostic fields - they're used by the thiserror/miette macros
|
|
|
|
|
#![allow(unused_assignments)]
|
|
|
|
|
|
2026-02-08 22:53:18 +01:00
|
|
|
pub mod api_client;
|
2026-02-08 21:29:17 +01:00
|
|
|
pub mod brand;
|
|
|
|
|
pub mod command;
|
2026-02-08 22:53:18 +01:00
|
|
|
pub mod controller;
|
2026-02-08 21:29:17 +01:00
|
|
|
pub mod error;
|
|
|
|
|
#[cfg(target_os = "illumos")]
|
|
|
|
|
pub mod illumos;
|
|
|
|
|
pub mod mock;
|
|
|
|
|
pub mod network;
|
2026-02-08 22:53:18 +01:00
|
|
|
pub mod node_agent;
|
2026-02-08 21:29:17 +01:00
|
|
|
pub mod traits;
|
|
|
|
|
pub mod types;
|
|
|
|
|
pub mod zfs;
|
|
|
|
|
pub mod zone;
|
|
|
|
|
|
|
|
|
|
// Re-export primary types
|
|
|
|
|
pub use error::{Result, RuntimeError};
|
|
|
|
|
pub use mock::MockRuntime;
|
|
|
|
|
pub use traits::ZoneRuntime;
|
|
|
|
|
pub use types::{
|
|
|
|
|
ContainerProcess, DirectNicConfig, EtherstubConfig, FsMount, NetworkMode, ZfsConfig, ZoneBrand,
|
|
|
|
|
ZoneConfig, ZoneInfo, ZoneState,
|
|
|
|
|
};
|
|
|
|
|
|
2026-02-08 22:53:18 +01:00
|
|
|
// Re-export controller and agent types
|
|
|
|
|
pub use api_client::ApiClient;
|
|
|
|
|
pub use controller::{PodController, PodControllerConfig};
|
|
|
|
|
pub use node_agent::{NodeAgent, NodeAgentConfig};
|
|
|
|
|
|
2026-02-08 21:29:17 +01:00
|
|
|
// Conditionally re-export illumos runtime
|
|
|
|
|
#[cfg(target_os = "illumos")]
|
|
|
|
|
pub use illumos::IllumosRuntime;
|