API: containers

Repository

class pubtools.pulplib.ContainerImageRepository[source]

A Repository for container images.

Method generated by attrs for class ContainerImageRepository.

registry_id

The ID of this repository in a container image registry.

For example:

  • pulp repo id: redhat-rhel7-openscap

  • registry id: rhel7/openscap

The registry id is used by clients of the published repo, i.e.

docker pull registry.example.com/<registry_id>:latest

class pubtools.pulplib.ContainerSyncOptions[source]

Options controlling a container repository sync().

Method generated by attrs for class ContainerSyncOptions.

upstream_name

The name of the repository to import from the upstream repository. For example, if syncing from repository quay.io/fedora/fedora, upstream_name should be set to fedora/fedora.

tags

List of tags to include on sync.