blib/lib/Kubernetes/REST/Server.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Kubernetes::REST::Server; | ||||||
2 | 1 | 1 | 369 | use Moo; | |||
1 | 2 | ||||||
1 | 5 | ||||||
3 | 1 | 1 | 255 | use Types::Standard qw/Str Bool/; | |||
1 | 2 | ||||||
1 | 4 | ||||||
4 | |||||||
5 | has endpoint => (is => 'ro', isa => Str, required => 1); | ||||||
6 | |||||||
7 | has ssl_verify_server => (is => 'ro', isa => Bool, default => 1); | ||||||
8 | has ssl_cert_file => (is => 'ro'); | ||||||
9 | has ssl_key_file => (is => 'ro'); | ||||||
10 | has ssl_ca_file => (is => 'ro'); | ||||||
11 | |||||||
12 | 1; |