Docker/Type/EndpointPortConfig.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/EndpointIPAMConfig.pm ↑ Summary Docker/Type/EndpointSettings.pm »
1 package API::Docker::Type::EndpointPortConfig;
2 # ABSTRACT: One entry of C<EndpointSpec.Ports>
3 2 our $VERSION = '0.005';
4 2 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 2 docker name => Str;
9  
10  
11 2 docker protocol => Str, enum => [qw( tcp udp sctp )];
12  
13  
14 2 docker target_port => Int;
15  
16  
17 2 docker published_port => Int;
18  
19  
20 2 docker publish_mode => Str, enum => [qw( ingress host )];
21  
22  
23 2 1;
24  
25 __END__
« Docker/Type/EndpointIPAMConfig.pm ↑ Summary Docker/Type/EndpointSettings.pm »