hclgen

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportDataSource

func ExportDataSource(marshaler hcl.Marshaler, w io.Writer, resourceType string, resourceName string, comments ...string) error

func ExportResource

func ExportResource(marshaler hcl.Marshaler, w io.Writer, resourceType string, resourceName string, comments ...string) error

Types

type HCLGen

type HCLGen struct {
	// contains filtered or unexported fields
}

func New

func New(kind string) *HCLGen

func (*HCLGen) Export

func (me *HCLGen) Export(marshaler hcl.Marshaler, w io.Writer, resourceType string, resourceName string, comments ...string) error

Jump to

Keyboard shortcuts

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