File Coverage

blib/lib/IO/K8s/Traefik.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod 0 1 0.0
total 6 7 85.7


line stmt bran cond sub pod time code
1             package IO::K8s::Traefik;
2             # ABSTRACT: Traefik CRD resource map provider for IO::K8s
3             our $VERSION = '1.008';
4 2     2   5434 use Moo;
  2         5  
  2         15  
5             with 'IO::K8s::Role::ResourceMap';
6              
7             sub resource_map {
8             return {
9 6     6 0 4456 IngressRoute => 'Traefik::V1alpha1::IngressRoute',
10             IngressRouteTCP => 'Traefik::V1alpha1::IngressRouteTCP',
11             IngressRouteUDP => 'Traefik::V1alpha1::IngressRouteUDP',
12             Middleware => 'Traefik::V1alpha1::Middleware',
13             MiddlewareTCP => 'Traefik::V1alpha1::MiddlewareTCP',
14             ServersTransport => 'Traefik::V1alpha1::ServersTransport',
15             ServersTransportTCP => 'Traefik::V1alpha1::ServersTransportTCP',
16             TLSOption => 'Traefik::V1alpha1::TLSOption',
17             TLSStore => 'Traefik::V1alpha1::TLSStore',
18             TraefikService => 'Traefik::V1alpha1::TraefikService',
19             };
20             }
21              
22             1;
23              
24             __END__