feat: oci packer can now use mksquashfs if available

This commit is contained in:
Alex Zenla
2024-04-14 04:53:55 +00:00
parent f8247f13e4
commit b02fc54402
15 changed files with 475 additions and 188 deletions

View File

@ -1,12 +1,11 @@
use std::collections::BTreeMap;
use indexmap::IndexMap;
use tokio::sync::broadcast::Sender;
#[derive(Clone, Debug)]
pub struct OciProgress {
pub id: String,
pub phase: OciProgressPhase,
pub layers: BTreeMap<String, OciProgressLayer>,
pub layers: IndexMap<String, OciProgressLayer>,
pub value: u64,
pub total: u64,
}