hcl

package module
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoDocumentationAvailable = "No documentation available"

Functions

func Marshal

func Marshal(ctx context.Context, v interface{}) (map[string]interface{}, error)

func Schema

func Schema(v interface{}) map[string]*schema.Schema

func Unmarshal

func Unmarshal(ctx context.Context, rd ResourceData, v any) error

Types

type InvalidUnmarshalError

type InvalidUnmarshalError struct {
	Type reflect.Type
}

func (*InvalidUnmarshalError) Error

func (e *InvalidUnmarshalError) Error() string

type ResourceData

type ResourceData interface {
	GetOk(key string) (interface{}, bool)
}

type UnsupportedTypeError

type UnsupportedTypeError struct {
	Name string
	Type reflect.Type
}

func (UnsupportedTypeError) Error

func (me UnsupportedTypeError) Error() string

Jump to

Keyboard shortcuts

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