line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Fastly::Match; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
27
|
use strict; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
101
|
|
4
|
4
|
|
|
4
|
|
11
|
use base qw(Net::Fastly::BelongsToServiceAndVersion); |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
311
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
1; |