config

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestFile

func CreateTestFile(t *testing.T, contents string) string

createTestFile creates a hcl file from the given contents

func CreateTestFiles

func CreateTestFiles(t *testing.T, contents ...string) string

createsTestFiles creates a temporary directory and stores temp files into it returns directory containing files cleanup function usage: d, cleanup := createTestFiles(t, `cluster "abc" {}`, `docs "bcdf" {}`) defer cleanup()

func ParseVars

func ParseVars(value map[string]cty.Value) map[string]interface{}

ParseVars converts a map[string]cty.Value into map[string]interface where the interface are generic go types like string, number, bool, slice, map

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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