pulumi/pkg
joeduffy d334ea322b Add custom decoding for MuPack metadata
This adds basic custom decoding for the MuPack metadata section of
the incoming JSON/YAML.  Because of the type discriminated union nature
of the incoming payload, we cannot rely on the simple built-in JSON/YAML
unmarshaling behavior.  Note that for the metadata section -- what is
in this checkin -- we could have, but the IL AST nodes are problematic.
(To know what kind of structure to creat requires inspecting the "kind"
field of the IL.)  We will use a reflection-driven walk of the target
structure plus a weakly typed deserialized map[string]interface{}, as
is fairly customary in Go for scenarios like this (though good libaries
seem to be lacking in this area...).
2017-01-14 07:40:13 -08:00
..
ast Fix a few type binding mistakes 2016-12-09 13:12:57 -08:00
compiler Add orElse/orEmpty template functions 2016-12-09 17:22:09 -08:00
diag Fix a few type binding mistakes 2016-12-09 13:12:57 -08:00
encoding Switch back to the official YAML repo 2016-12-09 11:59:05 -08:00
errors Revert back to T[], instead of []T, for array syntax 2016-12-07 13:24:05 -08:00
pack Add custom decoding for MuPack metadata 2017-01-14 07:40:13 -08:00
util Go back to glog.Fail 2016-12-01 11:50:19 -08:00
workspace Add some property binding tests 2016-12-02 14:33:22 -08:00