Help us shape the future of Go! Take the 2026 Go Developer Survey

ctystructure

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package crystructure helps convert map[string]interface{} values to cty.Values.

This is useful for dynamically creating variables that may be available to cty-powered environments such as HCL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Object

func Object(v map[string]interface{}) (cty.Value, error)

Object takes a map[string]interface{} and converts it to a cty object value. The map[string]interface{} is expected to only have primitives and container types. Lists must be homogeneous types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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