Dela via


ContainerRepository Class

Definition

A repository in a container registry is a logical grouping of images or artifacts that share the same name. For example, different versions of a hello-world application could have tags v1 and v2, and be grouped by the repository hello-world.

The ContainerRepository class is a helper class that groups information and operations about a repository in this container registry.

public class ContainerRepository
type ContainerRepository = class
Public Class ContainerRepository
Inheritance
ContainerRepository

Constructors

ContainerRepository()

Initializes a new instance of ContainerRepository for mocking.

Properties

Name

Gets the name of the repository.

RegistryEndpoint

Gets the Registry Uri.

Methods

Delete(CancellationToken)

Delete the repository and all artifacts that are part of its logical group.

DeleteAsync(CancellationToken)

Delete the repository and all artifacts that are part of its logical group.

GetAllManifestProperties(ArtifactManifestOrder, CancellationToken)

List the manifests associated with this repository and the properties of each. This is useful for determining the collection of artifacts associated with this repository, as each artifact is uniquely identified by its manifest.

GetAllManifestPropertiesAsync(ArtifactManifestOrder, CancellationToken)

List the manifests associated with this repository and the properties of each. This is useful for determining the collection of artifacts associated with this repository, as each artifact is uniquely identified by its manifest.

GetArtifact(String)

Create a new RegistryArtifact helper object for the artifact identified by tagOrDigest.

GetProperties(CancellationToken)

Get the properties of the repository.

GetPropertiesAsync(CancellationToken)

Get the properties of the repository.

UpdateProperties(ContainerRepositoryProperties, CancellationToken)

Update the properties of the repository.

UpdatePropertiesAsync(ContainerRepositoryProperties, CancellationToken)

Update the properties of the repository.

Applies to