pub struct DockerWatcherOptions {
pub since: Option<String>,
pub attempt_number: Option<u64>,
pub recover_on_kill: bool,
}Expand description
Extra behaviour of a detached completion watcher (issue #176).
Fields§
§since: Option<String>Limits docker logs to output after a restart, so a resumed run does
not copy the previous run’s output into the log again.
attempt_number: Option<u64>§recover_on_kill: boolHand a killed main process (exit 137, or OOMKilled without a usable
exit code, issue #178) to the recovery entry point first. When it
resumes the container, this watcher stops there — a new one follows
the resumed run — and cleanup, footer and finalization are left to
whichever watcher sees the last run end.
Trait Implementations§
Source§impl Clone for DockerWatcherOptions
impl Clone for DockerWatcherOptions
Source§impl Debug for DockerWatcherOptions
impl Debug for DockerWatcherOptions
Source§impl Default for DockerWatcherOptions
impl Default for DockerWatcherOptions
impl Eq for DockerWatcherOptions
Source§impl PartialEq for DockerWatcherOptions
impl PartialEq for DockerWatcherOptions
impl StructuralPartialEq for DockerWatcherOptions
Auto Trait Implementations§
impl Freeze for DockerWatcherOptions
impl RefUnwindSafe for DockerWatcherOptions
impl Send for DockerWatcherOptions
impl Sync for DockerWatcherOptions
impl Unpin for DockerWatcherOptions
impl UnsafeUnpin for DockerWatcherOptions
impl UnwindSafe for DockerWatcherOptions
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