pub struct PodmanOutput { /* private fields */ }Expand description
Serialized PodmanLens deployment artifact and runnable shell rendering.
Implementations§
Source§impl PodmanOutput
impl PodmanOutput
Sourcepub const fn target_version(&self) -> PlatformVersion
pub const fn target_version(&self) -> PlatformVersion
Returns the exact reviewed Podman version selected for rendering.
Sourcepub fn deployment_json(&self) -> &str
pub fn deployment_json(&self) -> &str
Returns deterministic deployment-v1 JSON.
The artifact is data, but may contain caller-authorized public application values.
Sourcepub fn commands_shell(&self) -> &str
pub fn commands_shell(&self) -> &str
Returns the deterministic Podman command script.
This crate never executes the script. Running it performs the rendered Podman operations, so callers must review it and select the intended Podman connection first.
Trait Implementations§
Source§impl Clone for PodmanOutput
impl Clone for PodmanOutput
Source§impl Debug for PodmanOutput
impl Debug for PodmanOutput
impl Eq for PodmanOutput
Source§impl PartialEq for PodmanOutput
impl PartialEq for PodmanOutput
impl StructuralPartialEq for PodmanOutput
Auto Trait Implementations§
impl Freeze for PodmanOutput
impl RefUnwindSafe for PodmanOutput
impl Send for PodmanOutput
impl Sync for PodmanOutput
impl Unpin for PodmanOutput
impl UnsafeUnpin for PodmanOutput
impl UnwindSafe for PodmanOutput
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