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