lib/IO/K8s/AgentSandbox/V1alpha1/SandboxClaim.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
« lib/IO/K8s/AgentSandbox/V1alpha1/Sandbox.pm ↑ Summary lib/IO/K8s/AgentSandbox/V1alpha1/SandboxTemplate.pm »
1 package IO::K8s::AgentSandbox::V1alpha1::SandboxClaim;
2 # ABSTRACT: Request for sandbox allocation
3 2 our $VERSION = '1.112';
4 use IO::K8s::APIObject
5 2 ▶ api_version => 'extensions.agents.x-k8s.io/v1alpha1',
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 resource_plural => 'sandboxclaims';
7 2 with 'IO::K8s::Role::Namespaced';
8  
9 2 k8s spec => {
10 sandboxTemplateRef => {
11 name => Str,
12 },
13 warmpool => Str,
14 additionalPodMetadata => {
15 annotations => HashRef[Str],
16 labels => HashRef[Str],
17 },
18 env => ['+IO::K8s::AgentSandbox::V1beta1::EnvVar'],
19 lifecycle => {
20 shutdownTime => Time,
21 shutdownPolicy => Str,
22 ttlSecondsAfterFinished => Int,
23 },
24 };
25 2 k8s status => {
26 conditions => ['Meta::V1::Condition'],
27 sandbox => {
28 name => Str,
29 podIPs => [Str],
30 },
31 };
32  
33 2 1;
34  
35 __END__
« lib/IO/K8s/AgentSandbox/V1alpha1/Sandbox.pm ↑ Summary lib/IO/K8s/AgentSandbox/V1alpha1/SandboxTemplate.pm »