lib/IO/K8s/Traefik/V1alpha1/ServiceUDP.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/Traefik/V1alpha1/ServiceTCP.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/SourceCriterion.pm »
1 package IO::K8s::Traefik::V1alpha1::ServiceUDP;
2 # ABSTRACT: ServiceUDP defines an upstream UDP service to proxy traffic to.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s name => Str, { required => 'schema' };
7 2 k8s namespace => Str;
8 2 k8s nativeLB => Bool;
9 2 k8s nodePortLB => Bool;
10 2 k8s port => IntOrStr, { required => 'schema' };
11 2 k8s weight => Int, { minimum => 0 };
12  
13  
14  
15  
16  
17  
18  
19 2 1;
20  
21 __END__
« lib/IO/K8s/Traefik/V1alpha1/ServiceTCP.pm ↑ Summary lib/IO/K8s/Traefik/V1alpha1/SourceCriterion.pm »