| 1 | package API::Docker::Type::OCIDescriptor; | ||
| 2 | # ABSTRACT: A descriptor struct containing digest, media type, and size, as defined in the L<OCI Content Descriptors Specification|https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md> | ||
| 3 | 55 | our $VERSION = '0.006'; | |
| 4 | 55 | ▶ | use API::Docker::Type; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 55 | ▶ | use API::Docker::Type::OCIPlatform; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 55 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | |||
| 9 | 55 | docker media_type => Str, wire => 'mediaType'; | |
| 10 | |||
| 11 | |||
| 12 | 55 | docker digest => Str, wire => 'digest'; | |
| 13 | |||
| 14 | |||
| 15 | 55 | docker size => Int, wire => 'size'; | |
| 16 | |||
| 17 | |||
| 18 | 55 | docker urls => [Str], wire => 'urls', since => '1.51'; | |
| 19 | |||
| 20 | |||
| 21 | 55 | docker annotations => { Str, Str }, wire => 'annotations', since => '1.51'; | |
| 22 | |||
| 23 | |||
| 24 | 55 | docker data => Str, wire => 'data', since => '1.51'; | |
| 25 | |||
| 26 | |||
| 27 | 55 | docker platform => 'OCIPlatform', wire => 'platform', since => '1.51'; | |
| 28 | |||
| 29 | |||
| 30 | 55 | docker artifact_type => Str, wire => 'artifactType', since => '1.51'; | |
| 31 | |||
| 32 | |||
| 33 | 55 | 1; | |
| 34 | |||
| 35 | __END__ | ||