The heat.engine.template ModuleΒΆ

class heat.engine.template.Template(template, template_id=None, files=None)[source]

Bases: _abcoll.Mapping

A stack template.

functions()[source]

Return a dict of template functions keyed by name.

classmethod load(context, template_id)[source]

Retrieve a Template with the given ID from the database.

param_schemata()[source]

Return a dict of parameters.Schema objects for the parameters.

parameters(stack_identifier, user_params, validate_value=True, context=None)[source]

Return a parameters.Parameters object for the stack.

parse(stack, snippet)[source]
store(context=None)[source]

Store the Template in the database and return its ID.

validate()[source]

Validate the template.

Only validates the top-level sections of the template. Syntax inside sections is not checked here but in code parts that are responsible for working with the respective sections.

Previous topic

The heat.engine.event Module

Next topic

The heat.engine.function Module

This Page