Target Class

The target of the event.

Inheritance
Target

Constructor

Target(*, media_type: typing.Union[str, NoneType] = None, size: typing.Union[int, NoneType] = None, digest: typing.Union[str, NoneType] = None, length: typing.Union[int, NoneType] = None, repository: typing.Union[str, NoneType] = None, url: typing.Union[str, NoneType] = None, tag: typing.Union[str, NoneType] = None, name: typing.Union[str, NoneType] = None, version: typing.Union[str, NoneType] = None, **kwargs)

Parameters

media_type
str
Required

The MIME type of the referenced object.

size
<xref:long>
Required

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

digest
str
Required

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

length
<xref:long>
Required

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

repository
str
Required

The repository name.

url
str
Required

The direct URL to the content.

tag
str
Required

The tag name.

name
str
Required

The name of the artifact.

version
str
Required

The version of the artifact.