Share via


Target Class

The target of the event.

Constructor

Target(*args: Any, **kwargs: Any)

Variables

Name Description
media_type
str

The MIME type of the referenced object.

size
int

The number of bytes of the content. Same as Length field.

digest
str

The digest of the content, as defined by the Registry V2 HTTP API Specification.

length
int

The number of bytes of the content. Same as Size field.

repository
str

The repository name.

url
str

The direct URL to the content.

tag
str

The tag name.

name
str

The name of the artifact.

version
str

The version of the artifact.

Attributes

digest

The digest of the content, as defined by the Registry V2 HTTP API Specification.

digest: str | None

length

The number of bytes of the content. Same as Size field.

length: int | None

media_type

The MIME type of the referenced object.

media_type: str | None

name

The name of the artifact.

name: str | None

repository

The repository name.

repository: str | None

size

The number of bytes of the content. Same as Length field.

size: int | None

tag

The tag name.

tag: str | None

url

The direct URL to the content.

url: str | None

version

The version of the artifact.

version: str | None