code: func FromDescriptors(descriptors []ManifestDescriptor) (*DeserializedManifestList, error) {
  	var mediaType string
  	if len(descriptors) > 0 && descriptors[0].Descriptor.MediaType == v1.MediaTypeImageManifest {
  		mediaType = v1.MediaTypeImageIndex
  	} else {
  		mediaType = MediaTypeManifestList
  	}
  
  	return FromDescriptorsWithMediaType(descriptors, mediaType)
  }
docs: // FromDescriptors takes a slice of descriptors, and returns a
  // DeserializedManifestList which contains the resulting manifest list
  // and its JSON representation.