pulumi/cmd
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
..
build.go Pass compiler options to template evaluation 2016-12-09 12:42:28 -08:00
describe.go Add custom decoding for MuPack metadata 2017-01-14 07:40:13 -08:00
get.go Add a mu get command 2016-11-19 16:44:25 -08:00
mu.go Add the scaffolding for a new mu describe command 2017-01-13 15:00:20 -08:00
version.go Annotate a bunch of TODOs with work item numbers 2016-11-23 12:30:02 -08:00