Target Class
The target of the event.
Constructor
Target(*, media_type: str | None = None, size: int | None = None, digest: str | None = None, length: int | None = None, repository: str | None = None, url: str | None = None, tag: str | None = None, name: str | None = None, version: str | None = None, **kwargs: Any)Keyword-Only Parameters
| Name | Description | 
|---|---|
| media_type | The MIME type of the referenced object. Default value: None | 
| size | The number of bytes of the content. Same as Length field. Default value: None | 
| digest | The digest of the content, as defined by the Registry V2 HTTP API Specification. Default value: None | 
| length | The number of bytes of the content. Same as Size field. Default value: None | 
| repository | The repository name. Default value: None | 
| url | The direct URL to the content. Default value: None | 
| tag | The tag name. Default value: None | 
| name | The name of the artifact. Default value: None | 
| version | The version of the artifact. Default value: None | 
Variables
| Name | Description | 
|---|---|
| media_type | The MIME type of the referenced object. | 
| size | The number of bytes of the content. Same as Length field. | 
| digest | The digest of the content, as defined by the Registry V2 HTTP API Specification. | 
| length | The number of bytes of the content. Same as Size field. | 
| repository | The repository name. | 
| url | The direct URL to the content. | 
| tag | The tag name. | 
| name | The name of the artifact. | 
| version | The version of the artifact. |