File Coverage

blib/lib/Tapper/Schema/TestrunDB/Result/Preconditiontype.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Tapper::Schema::TestrunDB::Result::Preconditiontype;
2             our $AUTHORITY = 'cpan:TAPPER';
3             $Tapper::Schema::TestrunDB::Result::Preconditiontype::VERSION = '5.0.9';
4             # ABSTRACT: Tapper - Containing types of preconditions
5              
6 7     7   3122 use strict;
  7         12  
  7         167  
7 7     7   23 use warnings;
  7         5  
  7         345  
8              
9             our %preconditiontype_description =
10             (
11             package => 'a package, might be a kernel, eg. .tgz, .rpm, ...',
12             image => 'a complete os image, .tgz, .iso, ...',
13             subdir => 'a subdir that can just be copied/rsynced',
14             xen => 'a setup description for a Xen based host+guests',
15             kvm => 'a setup description for a KVM based host+guests',
16             dist_xen => 'Xen environment of a particular distribution',
17             dist_kvm => 'KVM environment of a particular distribution',
18             distribution => 'a particular whole distribution',
19             description => 'just a description, no actual file and not a particular other type. can be used for meta packges or dependency trees',
20             );
21              
22 7     7   23 use parent 'DBIx::Class';
  7         8  
  7         32  
23              
24             __PACKAGE__->load_components("Core");
25             __PACKAGE__->table("preconditiontype");
26             __PACKAGE__->add_columns
27             (
28             "name", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, },
29             "description", { data_type => "TEXT", default_value => "", is_nullable => 0, },
30             );
31             __PACKAGE__->set_primary_key("name");
32              
33              
34             1;
35              
36             __END__
37              
38             =pod
39              
40             =encoding UTF-8
41              
42             =head1 NAME
43              
44             Tapper::Schema::TestrunDB::Result::Preconditiontype - Tapper - Containing types of preconditions
45              
46             =head1 AUTHORS
47              
48             =over 4
49              
50             =item *
51              
52             AMD OSRC Tapper Team <tapper@amd64.org>
53              
54             =item *
55              
56             Tapper Team <tapper-ops@amazon.com>
57              
58             =back
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             This software is Copyright (c) 2017 by Advanced Micro Devices, Inc..
63              
64             This is free software, licensed under:
65              
66             The (two-clause) FreeBSD License
67              
68             =cut