Skip to main content

sal_virt/
lib.rs

1//! # SAL Virt Package
2//!
3//! The `sal-virt` package provides comprehensive virtualization and containerization tools
4//! for building, managing, and deploying containers and filesystem layers.
5//!
6//! ## Features
7//!
8//! - **Buildah**: OCI/Docker image building with builder pattern API
9//! - **Nerdctl**: Container lifecycle management with containerd
10//! - **RFS**: Remote filesystem mounting and layer management
11//! - **Cross-Platform**: Works across Windows, macOS, and Linux
12//! - **Rhai Integration**: Full support for Rhai scripting language
13//! - **Error Handling**: Comprehensive error types and handling
14//!
15//! ## Modules
16//!
17//! - [`buildah`]: Container image building with Buildah
18//! - [`nerdctl`]: Container management with Nerdctl
19//! - [`rfs`]: Remote filesystem operations
20//!
21//! This package depends on `sal-process` for command execution and `sal-os` for
22//! filesystem operations.
23
24pub mod buildah;
25pub mod nerdctl;
26pub mod rfs;
27
28pub mod rhai;
29
30// Re-export main types and functions for convenience
31pub use buildah::{BuildahError, Builder, ContentOperations};
32pub use nerdctl::{Container, ContainerStatus, HealthCheck, NerdctlError};
33pub use rfs::{Mount, MountType, PackBuilder, RfsBuilder, RfsError, StoreSpec};