Struct podman_api::api::Secret [−][src]
pub struct Secret<'podman> { /* fields omitted */ }
Expand description
Interface for accessing and manipulating Podman Secret.
Implementations
Inspect this secret returning detailed information about it.
Examples:
let podman = Podman::unix("/run/user/1000/podman/podman.sock");
match podman.secrets().get("79c93f220e3e").inspect().await {
Ok(info) => println!("{:?}", info),
Err(e) => eprintln!("{}", e);
}
Remove this secret
Examples:
let podman = Podman::unix("/run/user/1000/podman/podman.sock");
if let Err(e) = podman.secrets().delete().await {
eprintln!("{}", e);
}
Trait Implementations
Auto Trait Implementations
impl<'podman> !RefUnwindSafe for Secret<'podman>
impl<'podman> !UnwindSafe for Secret<'podman>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more