Esempio n. 1
0
 def get_class(self, files=None):
     from heat.engine.resources import template_resource
     env = self.registry.environment
     return template_resource.generate_class(str(self.name),
                                             self.template_name,
                                             env,
                                             files=files)
Esempio n. 2
0
 def get_class(self):
     from heat.engine.resources import template_resource
     env = self.registry.environment
     return template_resource.generate_class(str(self.name),
                                             self.template_name,
                                             env)
Esempio n. 3
0
 def get_class(self):
     from heat.engine.resources import template_resource
     return template_resource.generate_class(str(self.name),
                                             self.template_name)
Esempio n. 4
0
 def get_class(self):
     from heat.engine.resources import template_resource
     return template_resource.generate_class(str(self.name),
                                             self.template_name)