Struct lal::Container
[−]
[src]
pub struct Container {
pub name: String,
pub tag: String,
}Representation of a docker container image
Fields
name: String
The fully qualified image name
tag: String
The tag to use
Methods
impl Container[src]
impl Container[src]
fn new(container: &str) -> Container[src]
Initialize a container struct
This will split the container on : to actually fetch the tag, and if no tag
was present, it will assume tag is latest as per docker conventions.
Trait Implementations
impl Debug for Container[src]
impl Clone for Container[src]
fn clone(&self) -> Container[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for Container[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for Container[src]
Convenience default for functions that require Lockfile inspection Intentionally kept distinct from normal build images