lib/Kubernetes/REST/HTTPResponse.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« lib/Kubernetes/REST/Events.pm ↑ Summary lib/Kubernetes/REST/LogEvent.pm »
1 package Kubernetes::REST::HTTPResponse;
2 97 our $VERSION = '1.113';
3 # ABSTRACT: HTTP response object
4 97 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 97 ▶use Types::Standard qw/Str Int HashRef ArrayRef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 97 has content => (is => 'ro', isa => Str);
9  
10  
11 97 has status => (is => 'ro', isa => Int);
12  
13  
14 # The response headers, keyed by lowercased name, each an arrayref of that
15 # header's values in the order they came - a repeated Warning header gives
16 # several (karr k79). Optional: a backend that does not fill it gives none.
17 92 ▶has headers => (is => 'ro', isa => HashRef[ArrayRef[Str]], default => sub { {} });
Subroutine __ANON__: called CC=1 SCAR=0.0
18  
19  
20 97 1;
21  
22 __END__
« lib/Kubernetes/REST/Events.pm ↑ Summary lib/Kubernetes/REST/LogEvent.pm »