[−][src]Struct cage::Sources
All the source trees associated with a project's Docker images.
Implementations
impl Sources
[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]
Iterate over all source trees associated with this project.
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]
Look up a source tree mutably using the short-form local alias.
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]
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]
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]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> GetTypeId for T where
T: Any,
T: Any,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Err = <U as TryFrom<T>>::Err
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,