pub struct LockFile {
pub effective: String,
pub images: HashMap<String, HashMap<String, HashMap<String, HashMap<String, DockerTag>>>>,
pub resources: HashMap<String, ResourceVersion>,
}
Fields§
§effective: String
The effective Dofigen configuration
images: HashMap<String, HashMap<String, HashMap<String, HashMap<String, DockerTag>>>>
The digests of the images used in the Dofigen file The first level key is the host The second level key is the namespace The third level key is the repository The fourth level key is the tag
resources: HashMap<String, ResourceVersion>
The files used in the Dofigen file for ‘extend’ fields
Implementations§
Source§impl LockFile
impl LockFile
pub fn to_context(&self) -> DofigenContext
pub fn from_context( effective: &Dofigen, context: &DofigenContext, ) -> Result<LockFile>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockFile
impl<'de> Deserialize<'de> for LockFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockFile
impl RefUnwindSafe for LockFile
impl Send for LockFile
impl Sync for LockFile
impl Unpin for LockFile
impl UnwindSafe for LockFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more