Documentation ¶
Index ¶
- func DecodeMapping(ctx context.Context, m map[string]any) (attr.Value, diag.Diagnostics)
- func DecodeScalar(ctx context.Context, m any) (value attr.Value, diags diag.Diagnostics)
- func DecodeSequence(ctx context.Context, s []any) (attr.Value, diag.Diagnostics)
- func EncodeList(lv basetypes.ListValue) ([]any, error)
- func EncodeMap(mv basetypes.MapValue) (map[string]any, error)
- func EncodeObject(ov basetypes.ObjectValue) (map[string]any, error)
- func EncodeSet(sv basetypes.SetValue) ([]any, error)
- func EncodeTuple(tv basetypes.TupleValue) ([]any, error)
- func EncodeValue(v attr.Value) (any, error)
- func Mergo(ctx context.Context, objs []types.Dynamic, opts ...func(*mergo.Config)) (merged types.Dynamic, diags diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeMapping ¶
func DecodeScalar ¶
func DecodeSequence ¶
func EncodeObject ¶ added in v0.2.0
func EncodeObject(ov basetypes.ObjectValue) (map[string]any, error)
func EncodeTuple ¶ added in v0.2.0
func EncodeTuple(tv basetypes.TupleValue) ([]any, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.