gotf

package module
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 5 Imported by: 2

README

GoTF Go Reference

Go module to help implement Terraform block methods generated by protoc-gen-gotf. See the gotf-example for a working example.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModel

func GetModel[T Model](ctx context.Context, raw tftypes.Value, target T, get func(ctx context.Context, target interface{}) diag.Diagnostics) diag.Diagnostics

Types

type Model

type Model interface {
	AttributeDefaultValues(ctx context.Context) map[string]tftypes.Value
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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