Struct conductor::DefaultTags
[−]
[src]
pub struct DefaultTags { /* fields omitted */ }
This is typically used to incorporate image tags for specific builds generated by a continuous integration system (such as Go).
The on-disk format is a text file with one tagged image name per line:
example.com/app1:30
example.com/app2:57
alpine:4.3
The tags from this file will be used as default tags for these images.
So for example, example.com/app1
would default to
example.com/app1:30
, and alpine
would default to alpine:4.3
.
Methods
impl DefaultTags
[src]
fn read<R>(r: R) -> Result<Self> where R: Read
Read in tag defaults from a stream.
fn default_for(&self, image: &Image) -> Image
Default the tag
field of image
if necessary, returning the old
image if possible.