The heat.engine.function ModuleΒΆ
-
class
heat.engine.function.Function(stack, fn_name, args)[source] Bases:
objectAbstract base class for template functions.
-
dep_attrs(resource_name)[source]
-
dependencies(path)[source]
-
result()[source] Return the result of resolving the function.
Function subclasses must override this method to calculate their results.
-
validate()[source] Validate arguments without resolving the function.
Function subclasses must override this method to validate their args.
-
-
heat.engine.function.dep_attrs(snippet, resource_name)[source] Return an iterator over dependent attributes for specified resource_name in a template snippet.
The snippet should be already parsed to insert Function objects where appropriate.
-
heat.engine.function.dependencies(snippet, path='')[source] Return an iterator over Resource dependencies in a template snippet.
The snippet should be already parsed to insert Function objects where appropriate.
-
heat.engine.function.resolve(snippet)[source]
-
heat.engine.function.validate(snippet)[source]