summaryrefslogtreecommitdiffstats
path: root/library/Icingadb/Command/Transport/CommandTransportConfig.php
blob: e17fa0413fbe33ba751d9c40f49b280f1b4372e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/* Icinga DB Web | (c) 2021 Icinga GmbH | GPLv2 */

namespace Icinga\Module\Icingadb\Command\Transport;

use Icinga\Repository\IniRepository;

class CommandTransportConfig extends IniRepository
{
    protected $configs = [
        'transport' => [
            'name'      => 'commandtransports',
            'module'    => 'icingadb',
            'keyColumn' => 'name'
        ]
    ];

    protected $queryColumns = [
        'transport' => [
            'name',
            'transport',

            // API options
            'host',
            'port',
            'username',
            'password'
        ]
    ];
}