code: def get_consul(self, resource_type):
          
          consul = self.CONSUL_MAP.get(resource_type)
          if consul:
              return consul(self)
docs: Returns an object that a :class:`~bang.deployers.deployer.Deployer`
          uses to control resources of :attr:`resource_type`.
  
          :param str service:  Any of the resources defined
              in :mod:`bang.resources`.