# Copyright (c) 2017 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: GPL-3.0

from column.api.manager import credential_manager
from column.api.manager import run_manager


def get_manager(manager_type):
    managers = {
        'run': run_manager.RunManager(),
        'credential': credential_manager.CredentialManager()
    }
    if manager_type in managers:
        return managers[manager_type]
    raise NotImplementedError()
