File Coverage

blib/lib/IO/K8s/Api/Discovery/V1/EndpointSlice.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Discovery::V1::EndpointSlice;
2             # ABSTRACT: EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
3             our $VERSION = '1.008';
4 2     2   2468 use IO::K8s::APIObject;
  2         6  
  2         21  
5             with 'IO::K8s::Role::Namespaced';
6              
7              
8             k8s addressType => Str, 'required';
9              
10              
11             k8s endpoints => ['Discovery::V1::Endpoint'], 'required';
12              
13              
14             k8s ports => ['Discovery::V1::EndpointPort'];
15              
16             1;
17              
18             __END__