blib/lib/Paws/Lightsail/Container.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Lightsail::Container;
3 use Moose;
4 has Command => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'command', traits => ['NameInRequest']);
5 has Environment => (is => 'ro', isa => 'Paws::Lightsail::Environment', request_name => 'environment', traits => ['NameInRequest']);
6 has Image => (is => 'ro', isa => 'Str', request_name => 'image', traits => ['NameInRequest']);
7 has Ports => (is => 'ro', isa => 'Paws::Lightsail::PortMap', request_name => 'ports', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Lightsail::Container
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Lightsail::Container object:
27  
28 $service_obj->Method(Att1 => { Command => $value, ..., Ports => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Container object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Command
36  
37 =head1 DESCRIPTION
38  
39 Describes the settings of a container that will be launched, or that is
40 launched, to an Amazon Lightsail container service.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Command => ArrayRef[Str|Undef]
46  
47 The launch command for the container.
48  
49  
50 =head2 Environment => L<Paws::Lightsail::Environment>
51  
52 The environment variables of the container.
53  
54  
55 =head2 Image => Str
56  
57 The name of the image used for the container.
58  
59 Container images sourced from your Lightsail container service, that
60 are registered and stored on your service, start with a colon (C<:>).
61 For example, C<:container-service-1.mystaticwebsite.1>. Container
62 images sourced from a public registry like Docker Hub don't start with
63 a colon. For example, C<nginx:latest> or C<nginx>.
64  
65  
66 =head2 Ports => L<Paws::Lightsail::PortMap>
67  
68 The open firewall ports of the container.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83