blib/lib/Net/Fastly/Healthcheck.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Net/Fastly/Domain.pm ↑ Summary blib/lib/Net/Fastly/Match.pm »
1 package Net::Fastly::Healthcheck;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use base qw(Net::Fastly::BelongsToServiceAndVersion);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 Net::Fastly::Healthcheck->mk_accessors(qw(service_id name comment method path host http_version timeout window threshold));
7  
8 =head1 NAME
9  
10 Net::Fastly::Healthcheck - Representation of a way of keeping track of any of your hosts which are down
11  
12 =head1 ACCESSORS
13  
14 =head2 service_id
15  
16 The id of the service this belongs to.
17  
18 =head2 version
19  
20 The number of the version this belongs to.
21  
22 =head2 name
23  
24 The name of this healthcheck
25  
26 =head2 comment
27  
28 A free form comment field
29  
30 =head2 method
31  
32 Which HTTP method to use
33  
34 =head2 host
35  
36 Which host to check
37  
38 =head2 path
39  
40 Path to check
41  
42 =head2 http_version
43  
44 1.0 or 1.1 (defaults to 1.1)
45  
46 =head2 timeout
47  
48 Timeout in seconds
49  
50 =head2 window
51  
52 How large window to keep track for healthchecks
53  
54 =head2 threshold
55  
56 How many have to be ok for it work
57  
58 =cut
59 5 1;
« blib/lib/Net/Fastly/Domain.pm ↑ Summary blib/lib/Net/Fastly/Match.pm »