Project

Profile

Help

Story #3401

Updated by bizhang about 6 years ago

ImageManifest    should contain the following fields: 

 * digest: TextField() CharField(135) - 7 from "shaXXX:" + 128 from actual sha512 
 * schema_version: IntegerField() 
 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