feat(provider): Implement AutoDNS

This commit is contained in:
Stefan Warnat
2024-09-22 18:33:22 +02:00
parent b1d0725275
commit e66d766dac
5 changed files with 1419 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Config;
use App\Config\Provider\AutodnsProvider;
use App\Config\Provider\GandiProvider;
use App\Config\Provider\OvhProvider;
@@ -9,12 +10,14 @@ enum ConnectorProvider: string
{
case OVH = 'ovh';
case GANDI = 'gandi';
case AUTODNS = 'autodns';
public function getConnectorProvider(): string
{
return match ($this) {
ConnectorProvider::OVH => OvhProvider::class,
ConnectorProvider::GANDI => GandiProvider::class
ConnectorProvider::GANDI => GandiProvider::class,
ConnectorProvider::AUTODNS => AutodnsProvider::class,
};
}
}