All present image references (base + upgrade).
(&self)
| 82 | impl DockerImages { |
| 83 | /// All present image references (base + upgrade). |
| 84 | pub fn all(&self) -> Vec<&str> { |
| 85 | let mut out = vec![self.cl.as_str(), self.el.as_str()]; |
| 86 | if let Some(ref img) = self.cl_upgrade { |
| 87 | out.push(img.as_str()); |
| 88 | } |
| 89 | if let Some(ref img) = self.el_upgrade { |
| 90 | out.push(img.as_str()); |
| 91 | } |
| 92 | out |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | pub(crate) struct Testnet { |
no test coverage detected