pub enum PackageSource {
Local {
blobs: Option<Vec<PathBuf>>,
rust: Option<RustPackage>,
paths: Vec<MappedPath>,
},
Prebuilt {
repo: String,
commit: String,
sha256: String,
},
Composite {
packages: Vec<String>,
},
Manual,
}Expand description
Describes the origin of an externally-built package.
Variants§
Local
Fields
§
blobs: Option<Vec<PathBuf>>A list of blobs from the Omicron build S3 bucket which should be placed within this package.
§
rust: Option<RustPackage>Configuration for packages containing Rust binaries.
§
paths: Vec<MappedPath>A set of mapped paths which appear within the archive.
Describes a package which should be assembled locally.
Prebuilt
Downloads the package from the following URL:
https://buildomat.eng.oxide.computer/public/file/oxidecomputer/REPO/image/COMMIT/PACKAGE
Composite
A composite package, created by merging multiple tarballs into one.
Currently, this package can only merge zone images.
Manual
Expects that a package will be manually built and placed into the output directory.
Trait Implementations§
source§impl Debug for PackageSource
impl Debug for PackageSource
source§impl<'de> Deserialize<'de> for PackageSource
impl<'de> Deserialize<'de> for PackageSource
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more