# retoor <retoor@molodetz.nl>

_backend = None


def get_backend():
    global _backend
    if _backend is None:
        from devplacepy.services.containers.backend.docker_cli import DockerCliBackend

        _backend = DockerCliBackend()
    return _backend


def set_backend(backend) -> None:
    global _backend
    _backend = backend
