コード例 #1
0
 def __init__(self):
     LOG.debug('=== Creating V1Controller ===')
     self.secrets = secrets.SecretsController()
     self.orders = orders.OrdersController()
     self.containers = containers.ContainersController()
     self.transport_keys = transportkeys.TransportKeysController()
     self.cas = cas.CertificateAuthoritiesController()
     self.quotas = quotas.QuotasController()
     setattr(self, 'project-quotas', quotas.ProjectsQuotasController())
コード例 #2
0
ファイル: versions.py プロジェクト: Daviey/barbican
    def __init__(self):
        LOG.debug('=== Creating V1Controller ===')
        self.secrets = secrets.SecretsController()
        self.orders = orders.OrdersController()
        self.containers = containers.ContainersController()
        self.transport_keys = transportkeys.TransportKeysController()
        self.cas = cas.CertificateAuthoritiesController()

        self.__controllers = [
            self.secrets,
            self.orders,
            self.containers,
            self.transport_keys,
            self.cas,
        ]