template

package
v0.0.0-...-7326bea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(filename string, td Template) error

Render renders provider resource details to output file

Types

type Template

type Template struct {
	Provider  string
	Resources []*resource.Resource
}

Template represents the template data used to generate resource details

func New

func New(provider string, resources []*resource.Resource) *Template

New returns a new Template instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL