File Coverage

blib/lib/IO/K8s/Api/Networking/V1/Ingress.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod n/a
total 4 6 66.6


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Networking::V1::Ingress;
2             # ABSTRACT: Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
3             our $VERSION = '1.008';
4 5     5   5419 use IO::K8s::APIObject;
  5         19  
  5         83  
5             with 'IO::K8s::Role::Namespaced', 'IO::K8s::Role::Routable';
6 0     0     sub _route_format { 'ingress' }
7              
8              
9             k8s spec => 'Networking::V1::IngressSpec';
10              
11              
12             k8s status => 'Networking::V1::IngressStatus';
13              
14             1;
15              
16             __END__