The heat.engine.function
Module¶
-
class
heat.engine.function.
Function
(stack, fn_name, args)[source]¶ Bases:
object
Abstract base class for template functions.
-
dep_attrs
(resource_name)[source]¶ Return the attributes of the specified resource that are referenced.
Return an iterator over any attributes of the specified resource that this function references.
-
result
()[source]¶ Return the result of resolving the function.
Function subclasses must override this method to calculate their results.
-
stack
¶
-
-
heat.engine.function.
dep_attrs
(snippet, resource_name)[source]¶ Iterator over dependent attrs of a resource in a template snippet.
The snippet should be already parsed to insert Function objects where appropriate.
Returns: an iterator over the attributes of the specified resource that are referenced in the template snippet.