lib/IO/K8s/GatewayAPI/V1/HTTPRequestRedirectFilter.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/GatewayAPI/V1/HTTPRequestMirrorFilter.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPRoute.pm »
1 package IO::K8s::GatewayAPI::V1::HTTPRequestRedirectFilter;
2 # ABSTRACT: RequestRedirect defines a schema for a filter that responds to the request with an HTTP redirection.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s hostname => Str, { pattern => qr/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/ };
7 2 k8s path => '+IO::K8s::GatewayAPI::V1::HTTPPathModifier';
8 2 k8s port => Int, { minimum => 1, maximum => 65535 };
9 2 k8s scheme => Str, { enum => [qw(http https)] };
10 2 k8s statusCode => Int, { enum => [qw(301 302 303 307 308)], default => 302 };
11  
12  
13  
14  
15  
16  
17 2 1;
18  
19 __END__
« lib/IO/K8s/GatewayAPI/V1/HTTPRequestMirrorFilter.pm ↑ Summary lib/IO/K8s/GatewayAPI/V1/HTTPRoute.pm »