| 1 | package Dist::Zilla::Plugin::Docker::API::Result; | ||
| 2 | # ABSTRACT: Result object from Docker image build/push operations | ||
| 3 | 20 | our $VERSION = '0.107'; | |
| 4 | 20 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 20 | ▶ | use Types::Standard qw(Str ArrayRef); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 20 | has image_id => ( | |
| 8 | is => 'ro', | ||
| 9 | isa => Str, | ||
| 10 | ); | ||
| 11 | |||
| 12 | has tags => ( | ||
| 13 | is => 'ro', | ||
| 14 | isa => ArrayRef [Str], | ||
| 15 | 0 | ▶ | default => sub { [] }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 16 | 20 | ); | |
| 17 | |||
| 18 | has pushed => ( | ||
| 19 | is => 'ro', | ||
| 20 | isa => ArrayRef [Str], | ||
| 21 | 0 | ▶ | default => sub { [] }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 22 | 20 | ); | |
| 23 | |||
| 24 | 20 | has digest => ( | |
| 25 | is => 'ro', | ||
| 26 | isa => Str, | ||
| 27 | ); | ||
| 28 | |||
| 29 | has warnings => ( | ||
| 30 | is => 'ro', | ||
| 31 | isa => ArrayRef [Str], | ||
| 32 | 23 | ▶ | default => sub { [] }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 33 | 20 | ); | |
| 34 | |||
| 35 | 20 | 1; | |
| 36 | |||
| 37 | __END__ | ||