| 1 | package IO::K8s::Cilium::V2::PortProtocol; | ||
| 2 | # ABSTRACT: PortProtocol specifies an L4 port with an optional transport protocol | ||
| 3 | 4 | our $VERSION = '1.112'; | |
| 4 | 4 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 4 | k8s endPort => Int, { minimum => 0, maximum => 65535 }; | |
| 7 | 4 | k8s port => Str, { pattern => qr/^(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[0-9]{1,4})|([a-zA-Z0-9]-?)*[a-zA-Z](-?[a-zA-Z0-9])*$/ }; | |
| 8 | 4 | k8s protocol => Str, { enum => [qw(TCP UDP SCTP VRRP IGMP GRE IPIP IPV6 ESP AH ANY)] }; | |
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | 4 | 1; | |
| 14 | |||
| 15 | __END__ | ||