#[non_exhaustive]pub struct Variant {Show 14 fields
pub kind: VariantKind,
pub descr: String,
pub family: String,
pub parent: String,
pub detect: Detect,
pub supported: Supported,
pub commands: HashMap<String, HashMap<String, Vec<String>>>,
pub min_sys_python: String,
pub repo: Repo,
pub package: HashMap<String, String>,
pub systemd_lib: String,
pub file_ext: String,
pub initramfs_flavor: String,
pub builder: Builder,
}Expand description
A single StorPool build variant with all its options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: VariantKindWhich variant is that?
descr: StringThe human-readable description of the variant.
family: StringThe OS “family” that this distribution belongs to.
parent: StringThe name of the variant that this one is based on.
detect: DetectThe ways to check whether we are running this variant.
supported: SupportedThe aspects of StorPool operation supported for this build variant.
commands: HashMap<String, HashMap<String, Vec<String>>>The OS commands to execute for particular purposes.
min_sys_python: StringThe minimum Python version that we can depend on.
repo: RepoThe StorPool repository files to install.
package: HashMap<String, String>The names of the packages to be used for this variant.
systemd_lib: StringThe name of the directory to install systemd unit files to.
file_ext: StringThe filename extension of the OS packages (“deb”, “rpm”, etc.).
initramfs_flavor: StringThe type of initramfs-generating tools.
builder: BuilderThe data specific to the StorPool builder containers.