blib/lib/Net/Fastly/Match.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/Healthcheck.pm ↑ Summary blib/lib/Net/Fastly/Syslog.pm »
1 package Net::Fastly::Match;
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::Match->mk_accessors(qw(service_id name pattern priority on_recv on_lookup on_fetch on_deliver on_miss on_hit comment));
7  
8 =head1 NAME
9  
10 Net::Fastly::VCL - An internal representation of matcher object in Fastly
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 match.
25  
26 =head2 pattern
27  
28 The matching pattern.
29  
30 =head2 on_recv
31  
32 What VCL action to execute before we lookup the object.
33  
34 =head2 on_lookup
35  
36 What VCL action to execute during a lookup.
37  
38 =head2 on_fetch
39  
40 What to execute after we have the header.
41  
42 =head2 on_miss
43  
44 What to execute on a cache miss
45  
46 =head2 on_hit
47  
48 What to execute on a cache hit.
49  
50 =head2 on_deliver
51  
52 What to execute just before delivering the object.
53  
54 =head2 priority
55  
56 The ordering of the match object
57  
58 =head2 comment
59  
60 a free form comment field
61  
62 =cut
63 5 1;
« blib/lib/Net/Fastly/Healthcheck.pm ↑ Summary blib/lib/Net/Fastly/Syslog.pm »