AMD OSRC (AMD Operating System Research Center) > Tapper-Model-4.1.1 > Tapper::Model

Download:
Tapper-Model-4.1.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.1   Source   Latest Release: Tapper-Model-4.1.2

NAME ^

Tapper::Model - Tapper - Context sensitive connected DBIC schema

SYNOPSIS ^

    use Tapper::Model 'model';
    my $testrun = model('TestrunDB')->schema('Testrun')->find(12);
    my $testrun = model('ReportsDB')->schema('Report')->find(7343);

model

Returns a connected schema, depending on the environment (live, development, test).

@param 1. $schema_basename - optional, default is "Tests", meaning the Schema "Tapper::Schema::Tests"

@return $schema

get_or_create_owner

Search a owner based on login name. Create a owner with this login name if not found.

@param string - login name

@return success - id (primary key of owner table) @return error - undef

free_hosts_with_features

Return list of free hosts with their features and queues.

get_hardware_overview

Returns an overview of a given machine revision.

@param int - machine lid

@return success - hash ref @return error - undef

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: