Struct cage::Sources [−][src]
pub struct Sources { /* fields omitted */ }
All the source trees associated with a project’s Docker images.
Implementations
impl Sources
[src]
impl Sources
[src]pub fn iter(&self) -> Iter<'_>ⓘ
[src]
pub fn iter(&self) -> Iter<'_>ⓘ
[src]Iterate over all source trees associated with this project.
TODO LOW: Replace with IntoIterator.
pub fn iter_mut(&mut self) -> IterMut<'_>
[src]
pub fn iter_mut(&mut self) -> IterMut<'_>
[src]Iterate over all source trees associated with this project.
pub fn find_by_alias(&self, alias: &str) -> Option<&Source>
[src]
pub fn find_by_alias(&self, alias: &str) -> Option<&Source>
[src]Look up a source tree using the short-form local alias.
pub fn find_by_alias_mut(&mut self, alias: &str) -> Option<&mut Source>
[src]
pub fn find_by_alias_mut(&mut self, alias: &str) -> Option<&mut Source>
[src]Look up a source tree mutably using the short-form local alias.
pub fn find_by_context(&self, context: &Context) -> Option<&Source>
[src]
pub fn find_by_context(&self, context: &Context) -> Option<&Source>
[src]Look up a source tree given a git URL.
pub fn find_by_lib_key(&self, lib_key: &str) -> Option<&Source>
[src]
pub fn find_by_lib_key(&self, lib_key: &str) -> Option<&Source>
[src]Look up a source tree using a “lib key”, which is key used in
config/sources.yml
and with service labels of the form
io.fdy.cage.lib.<KEY>
.
pub fn find_by_lib_key_mut(&mut self, lib_key: &str) -> Option<&mut Source>
[src]
pub fn find_by_lib_key_mut(&mut self, lib_key: &str) -> Option<&mut Source>
[src]Look up a source tree using a “lib key”, which is key used in
config/sources.yml
and with service labels of the form
io.fdy.cage.lib.<KEY>
.
pub fn save_settings(&self, out_dir: &Path) -> Result<()>
[src]
pub fn save_settings(&self, out_dir: &Path) -> Result<()>
[src]Save any state that we want to persist until the next run.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sources
impl Send for Sources
impl Sync for Sources
impl Unpin for Sources
impl UnwindSafe for Sources
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,