/// <summary> /// Initializes a new instance of the ManifestWrapper class. /// </summary> /// <param name="schemaVersion">Schema version</param> /// <param name="mediaType">Media type for this Manifest</param> /// <param name="manifests">(ManifestList, OCIIndex) List of V2 image /// layer information</param> /// <param name="config">(V2, OCI) Image config descriptor</param> /// <param name="layers">(V2, OCI) List of V2 image layer /// information</param> /// <param name="annotations">(OCI, OCIIndex) Additional /// metadata</param> /// <param name="architecture">(V1) CPU architecture</param> /// <param name="name">(V1) Image name</param> /// <param name="tag">(V1) Image tag</param> /// <param name="fsLayers">(V1) List of layer information</param> /// <param name="history">(V1) Image history</param> /// <param name="signatures">(V1) Image signature</param> public ManifestWrapper(int?schemaVersion = default(int?), string mediaType = default(string), IList <ManifestListAttributes> manifests = default(IList <ManifestListAttributes>), Descriptor config = default(Descriptor), IList <Descriptor> layers = default(IList <Descriptor>), Annotations annotations = default(Annotations), string architecture = default(string), string name = default(string), string tag = default(string), IList <FsLayer> fsLayers = default(IList <FsLayer>), IList <History> history = default(IList <History>), IList <ImageSignature> signatures = default(IList <ImageSignature>)) : base(schemaVersion) { MediaType = mediaType; Manifests = manifests; Config = config; Layers = layers; Annotations = annotations; Architecture = architecture; Name = name; Tag = tag; FsLayers = fsLayers; History = history; Signatures = signatures; CustomInit(); }
/// <summary> /// Initializes a new instance of the V2Manifest class. /// </summary> /// <param name="schemaVersion">Schema version</param> /// <param name="mediaType">Media type for this Manifest</param> /// <param name="config">V2 image config descriptor</param> /// <param name="layers">List of V2 image layer information</param> public V2Manifest(int?schemaVersion = default(int?), string mediaType = default(string), Descriptor config = default(Descriptor), IList <Descriptor> layers = default(IList <Descriptor>)) : base(schemaVersion) { MediaType = mediaType; Config = config; Layers = layers; CustomInit(); }