Project

Profile

Help

Story #3401

Updated by bizhang about 6 years ago

ImageManifest    should contain the following fields: 

 * digest: CharField(135) CharField(71) - 7 from "shaXXX:" "sha256:" + 128 64 from actual sha512 sha 
 * schema_version: IntegerField  
 * config_layer: TextField() 
 * layers: ManyToManyField('Blob', through='ImageManifestLayer') 

 ImageManifestLayer is used to model the relationship between ImageManifests and Blobs 

 * blob: ForeignKey to Blob 
 * imagemanifest: ForeignKey to Image Manifest 
 * mediaType: TextField()

Back