blib/lib/IO/K8s/GatewayAPI/V1/Gateway.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/GatewayAPI/V1/GRPCRouteStatus.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1/GatewayBackendTLS.pm »
1 package IO::K8s::GatewayAPI::V1::Gateway;
2 # ABSTRACT: Gateway represents an instance of a service-traffic handling infrastructure by binding Listeners to a set of IP addresses.
3 10 our $VERSION = '1.111';
4 use IO::K8s::APIObject
5 10 ▶ api_version => 'gateway.networking.k8s.io/v1',
Subroutine BEGIN: called CC=1 SCAR=0.0
6 resource_plural => 'gateways',
7 10 subresources => { status => {} };
8 10 with 'IO::K8s::Role::Namespaced';
9  
10 10 k8s spec => '+IO::K8s::GatewayAPI::V1::GatewaySpec', { required => 'schema' };
11 10 k8s status => '+IO::K8s::GatewayAPI::V1::GatewayStatus', { default => {'conditions' => [{'lastTransitionTime' => '1970-01-01T00:00:00Z','message' => 'Waiting for controller','reason' => 'Pending','status' => 'Unknown','type' => 'Accepted'},{'lastTransitionTime' => '1970-01-01T00:00:00Z','message' => 'Waiting for controller','reason' => 'Pending','status' => 'Unknown','type' => 'Programmed'}]} };
12  
13  
14  
15 10 1;
16  
17 __END__
« blib/lib/IO/K8s/GatewayAPI/V1/GRPCRouteStatus.pm ↑ Summary blib/lib/IO/K8s/GatewayAPI/V1/GatewayBackendTLS.pm »