hcl

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DYNATRACE_DASHBOARD_TESTS = len(os.Getenv("DYNATRACE_DASHBOARD_TESTS")) > 0

Functions

func DeepEqual added in v1.36.0

func DeepEqual(a any, b any, path string) bool

func JSONBytesEqual

func JSONBytesEqual(b1, b2 []byte) bool

func JSONStringsEqual

func JSONStringsEqual(s1, s2 string) bool

func Println added in v1.46.1

func Println(path string, message string, b ...bool)

func SuppressEOT

func SuppressEOT(k, old, new string, d *schema.ResourceData) bool

func SuppressJSONorEOT

func SuppressJSONorEOT(k, old, new string, d *schema.ResourceData) bool

func UnmarshalHCL added in v1.26.0

func UnmarshalHCL(m Unmarshaler, d Decoder) error

Types

type Decoder

type Decoder interface {
	GetOk(key string) (any, bool)
	Get(key string) any
	Decode(key string, v any) error
	DecodeAll(map[string]any) error
	DecodeAny(map[string]any) (any, error)
	DecodeSlice(key string, v any) error
	// GetStringSet(key string) []string
	Path() string
}

Decoder has no documentation

func DecoderFrom

func DecoderFrom(m MinDecoder) Decoder

func NewDecoder

func NewDecoder(parent MinDecoder, address ...any) Decoder

NewDecoder has no documentation

func VoidDecoder

func VoidDecoder() Decoder

type Marshaler

type Marshaler interface {
	MarshalHCL(Properties) error
}

Marshaler has no documentation

type MinDecoder

type MinDecoder interface {
	GetOk(key string) (any, bool)
	Get(key string) any
}

Decoder has no documentation

type Preconditioner added in v1.26.0

type Preconditioner interface {
	HandlePreconditions() error
}

type Properties

type Properties map[string]any

func (Properties) Encode

func (me Properties) Encode(key string, v any) error

func (Properties) EncodeAll

func (me Properties) EncodeAll(items map[string]any) error

func (Properties) EncodeSlice

func (me Properties) EncodeSlice(key string, v any) error

func (Properties) Unknowns

func (me Properties) Unknowns(unknowns map[string]json.RawMessage) error

type Schemer

type Schemer interface {
	Schema() map[string]*schema.Schema
}

type StringSet

type StringSet []string

type Unmarshaler

type Unmarshaler interface {
	UnmarshalHCL(decoder Decoder) error
}

Jump to

Keyboard shortcuts

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