feat(adapters): add SSH and database adapters

This commit is contained in:
2026-05-11 22:02:25 +02:00
parent b4a22a1c44
commit 4d2c21a42e
3 changed files with 170 additions and 0 deletions
+4
View File
@@ -1,9 +1,13 @@
from typing import Dict, Any
from .base import SourceAdapter
from .local import LocalAdapter
from .ssh import SSHAdapter
from .database import DatabaseAdapter
ADAPTER_MAP = {
"local": LocalAdapter,
"ssh": SSHAdapter,
"database": DatabaseAdapter,
}
def get_adapter(source_type: str, config: Dict[str, Any]) -> SourceAdapter: