summaryrefslogtreecommitdiffstats
path: root/library/X509/JobsIniRepository.php
blob: 9a261eec44cb425f57e124311ed25ff8664e49ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2

namespace Icinga\Module\X509;

use Icinga\Repository\IniRepository;

/**
 * Collection of jobs stored in the jobs.ini file
 */
class JobsIniRepository extends IniRepository
{
    protected $queryColumns = array('jobs' => array('name', 'cidrs', 'ports', 'schedule'));

    protected $configs = array('jobs' => array(
        'module'    => 'x509',
        'name'      => 'jobs',
        'keyColumn' => 'name'
    ));
}