cty_helpers

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtyTypes

func GetCtyTypes(item interface{}) (_ map[string]cty.Type, err error)

GetCtyTypes builds a map of cty types for all tagged properties. It is used to convert the struct to a cty value

func GetCtyValue

func GetCtyValue(item interface{}) (cty.Value, error)

GetCtyValue converts the item into a cty value

func StringValueFromCtyMap

func StringValueFromCtyMap(valueMap map[string]cty.Value, key string) (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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