Documentation
¶
Index ¶
- func FormatBody(body *model.Body)
- func RenderFile(path string, metadata *metadata.CloudAPIMetadata) (*model.Body, hcl.Diagnostics, error)
- func RenderTemplate(file *ast.File, metadata *metadata.CloudAPIMetadata) (*model.Body, hcl.Diagnostics, error)
- func RenderText(yaml string, metadata *metadata.CloudAPIMetadata) (body *model.Body, diagnostics hcl.Diagnostics, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderFile ¶
func RenderFile(path string, metadata *metadata.CloudAPIMetadata) (*model.Body, hcl.Diagnostics, error)
RenderFile parses and renders a CloudFormation template to a PCL program body. If there are errors in the template, the function returns an error.
func RenderTemplate ¶
func RenderTemplate(file *ast.File, metadata *metadata.CloudAPIMetadata) (*model.Body, hcl.Diagnostics, error)
RenderTemplate renders a parsed CloudFormation template to a PCL program body. If there are errors in the template, the function returns an error.
func RenderText ¶
func RenderText(yaml string, metadata *metadata.CloudAPIMetadata) (body *model.Body, diagnostics hcl.Diagnostics, err error)
RenderText parses and renders a CloudFormation template to a PCL program body. If there are errors in the template, the function returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.