Docker/Type/Port.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Docker/Type/PluginsInfo.pm ↑ Summary Docker/Type/PortBinding.pm »
1 package API::Docker::Type::Port;
2 # ABSTRACT: An open port on a container
3 55 our $VERSION = '0.006';
4 55 ▶use API::Docker::Type;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 55 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 55 docker ip => Str, wire => 'IP';
9  
10  
11 55 docker private_port => Int, required => 1;
12  
13  
14 55 docker public_port => Int;
15  
16  
17 55 docker type => Str, required => 1, enum => [qw( tcp udp sctp )];
18  
19  
20 55 1;
21  
22 __END__
« Docker/Type/PluginsInfo.pm ↑ Summary Docker/Type/PortBinding.pm »