pub struct Names { /* private fields */ }Expand description
The names of everything runnerd creates in Docker, under one prefix: runnerd, or another for tests.
Implementations§
Source§impl Names
impl Names
Sourcepub fn slot(&self, profile: &str, slot: usize) -> String
pub fn slot(&self, profile: &str, slot: usize) -> String
Slot slot (1-based) of the profile: its layers’ changes and its Docker Engine’s data.
Sourcepub fn slot_of(&self, profile: &str, volume: &str) -> Option<usize>
pub fn slot_of(&self, profile: &str, volume: &str) -> Option<usize>
The slot (1-based) of the profile whose volume volume is, if it is one of its slots’.
Sourcepub fn seed(&self, profile: &str) -> String
pub fn seed(&self, profile: &str) -> String
The container that rebuilds the profile’s snapshot.
Sourcepub fn build_cache(&self) -> String
pub fn build_cache(&self) -> String
What GET /v1/caches and runnerctl caches clean call the shared build cache: a directory of the daemon’s,
not a Docker volume.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Names
impl RefUnwindSafe for Names
impl Send for Names
impl Sync for Names
impl Unpin for Names
impl UnsafeUnpin for Names
impl UnwindSafe for Names
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