Tapper::Cmd::Queue
This project offers backend functions for all projects that manipulate queues in the database. This module handles the testrun part.
use Tapper::Cmd::Queue; my $bar = Tapper::Cmd::Queue->new(); $bar->add($testrun); ...
Tapper::Cmd::Queue - Backend functions for manipluation of queues in the database
Add a new queue to database.
Add a new queue. -- required -- * name - string * priority - int
@param hash ref - options for new queue
@return success - queue id @return error - undef
Changes values of an existing queue.
@param int or object ref - queue id or queue object @param hash ref - overwrite these options
Delete a queue with given id. Its named del instead of delete to prevent confusion with the buildin delete function. If the queue is not empty and force is not given, we keep the queue and only set it to deleted to not break showing old testruns and their results.
@param - queue result || queue id @param bool - force deleted
@return success - 0 @return error - error string
AMD OSRC Tapper Team <tapper@amd64.org>
Tapper Team <tapper-ops@amazon.com>
This software is Copyright (c) 2017 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::Cmd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Cmd
CPAN shell
perl -MCPAN -e shell install Tapper::Cmd
For more information on module installation, please visit the detailed CPAN module installation guide.