Container Image RPM Manifest#

A containerImageRPMManifest contains all the RPM packages for a given containerImage

image_id | String required

The foreign key to containerImage._id.

object_type | String

String parameters

constant | containerImageRPMManifest

rpms | List[RpmsItems]

Content manifest of this image. RPM content included in the image.

_id | ObjectID read-only

MongoDB unique _id

creation_date | DateTime read-only

The date when the entry was created. Value is created automatically on creation.

last_update_date | DateTime read-only

The date when the entry was last updated.

image | RESTGetImage

URI to the container image.

image_id_1

Fields
  • image_id: ASC

Parameters
  • unique: True

  • sparse: True

Description
Index for containerImageRPMManifest based on the image_id field

edges.image | Container Image

Edge to associated image.

Parent arguments: [‘image_id’]

Uses GQL query: get_image

Example queries
{
    get_rpm_manifest(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                image {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_image_rpm_manifest(id: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                image {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}