Expand description
Test tools for building Fuchsia packages and TUF repositories.
Modules§
- blobfs
- Fake implementation of blobfs for blobfs::Client.
- serve
- Test tools for serving TUF repositories.
Structs§
- Blob
Contents - Contents of a Blob.
- Fake
Update Package - A fake
update_package::UpdatePackagebacked by a temp dir. - Package
- A package generated by a
PackageBuilder, suitable for assembling into a TUF repository. - Package
Builder - A builder to simplify construction of Fuchsia packages.
- Package
Dir - A subdirectory of a package being built.
- Package
Entry - Metadata for a package contained within a
Repository. - Repository
- A TUF repository generated by a
RepositoryBuilder. - Repository
Builder - A builder to simplify construction of TUF repositories containing Fuchsia packages.
- System
Image Builder - Builds a system_image package.
- Update
Package - A
crate::Packageused to drive an OTA. - Update
Package Builder - Like
crate::PackageBuilderexcept it only makes update packages.
Enums§
- Verification
Error - An error that can occur while verifying the contents of a directory.
Constants§
- SOURCE_
EPOCH - Integration test source epoch
Functions§
- get_
inspect_ hierarchy - Get the Inspect
NodeHierarchyfor the component under test running in the nested environment. - make_
current_ epoch_ json - Constructs an
epoch.jsonwith the current epoch and returns the JSON as a string. - make_
epoch_ json - Provided an epoch, constructs an
epoch.jsonand returns the JSON as a string. - make_
packages_ json - Provided a list of strings representing fuchsia-pkg URLs, constructs
a
packages.jsonrepresenting those packages and returns the JSON as a string.