pub struct Expected {
pub mode: String,
pub resources: Vec<ExpectedResource>,
pub not_checked: Vec<(String, String)>,
pub declared_ids: Vec<String>,
pub tag_units: Vec<String>,
pub probes: Vec<String>,
}Expand description
What the declared tree says verify should find.
Fields§
§mode: StringThe target’s deployment mode.
resources: Vec<ExpectedResource>Declared non-tag resources read_back compares, in key order.
not_checked: Vec<(String, String)>Declared resources read_back cannot compare, with the reason, in key
order (no REST read route, or a config.json that is not JSON).
declared_ids: Vec<String>Ids of every declared non-tag resource (compared or not), for the log match, in key order.
tag_units: Vec<String>Unit keys of the declared tag units, in key order.
probes: Vec<String>verify.tag_probes[], in manifest order.
Implementations§
Source§impl Expected
impl Expected
Sourcepub fn from_render(
target_mode: &str,
outcome: &RenderOutcome,
manifest: &Manifest,
) -> Self
pub fn from_render( target_mode: &str, outcome: &RenderOutcome, manifest: &Manifest, ) -> Self
Build from a render outcome and its manifest (deploy-layer types only).
Trait Implementations§
impl StructuralPartialEq for Expected
Auto Trait Implementations§
impl Freeze for Expected
impl RefUnwindSafe for Expected
impl Send for Expected
impl Sync for Expected
impl Unpin for Expected
impl UnsafeUnpin for Expected
impl UnwindSafe for Expected
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more