[omaha client] Add Installer and Plan
This adds the Installer trait, and replaces the InstallPlan trait with Installer::Plan, an trait to use with the associated InstallPlan type of the Installer. A stub implementation is provided for ease of writing tests and for prototyping work. Bug: PKG-465 Test: fx run-test omaha_client_lib_tests Change-Id: Id644c3a41c78a1fce09fa8575027eb7c71c9943d
Showing
- garnet/bin/omaha_client/src/install_plan.rs 31 additions, 22 deletionsgarnet/bin/omaha_client/src/install_plan.rs
- garnet/lib/rust/omaha_client/src/install_plan/mod.rs 0 additions, 21 deletionsgarnet/lib/rust/omaha_client/src/install_plan/mod.rs
- garnet/lib/rust/omaha_client/src/installer/mod.rs 64 additions, 0 deletionsgarnet/lib/rust/omaha_client/src/installer/mod.rs
- garnet/lib/rust/omaha_client/src/installer/stub.rs 63 additions, 0 deletionsgarnet/lib/rust/omaha_client/src/installer/stub.rs
- garnet/lib/rust/omaha_client/src/lib.rs 1 addition, 1 deletiongarnet/lib/rust/omaha_client/src/lib.rs
- garnet/lib/rust/omaha_client/src/policy/mod.rs 2 additions, 2 deletionsgarnet/lib/rust/omaha_client/src/policy/mod.rs
- garnet/lib/rust/omaha_client/src/policy/stub.rs 4 additions, 4 deletionsgarnet/lib/rust/omaha_client/src/policy/stub.rs
Loading
Please register or sign in to comment