pulumi/pkg
joeduffy 301739c6b5 Add auto-parenting
This changes a few things about "components":

* Rename what was previously ExternalResource to CustomResource,
  and all of the related fields and parameters that this implies.
  This just seems like a much nicer and expected name for what
  these represent.  I realize I am stealing a name we had thought
  about using elsewhere, but this seems like an appropriate use.

* Introduce ComponentResource, to make initializing resources
  that merely aggregate other resources easier to do correctly.

* Add a withParent and parentScope concept to Resource, to make
  allocating children less error-prone.  Now there's no need to
  explicitly adopt children as they are allocated; instead, any
  children allocated as part of the withParent callback will
  auto-parent to the resource provided.  This is used by
  ComponentResource's initialization function to make initialization
  easier, including the distinction between inputs and outputs.
2017-10-15 04:38:26 -07:00
..
compiler/errors Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
diag Have engine emit "events" instead of writing to streams 2017-10-09 18:24:56 -07:00
encoding Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
engine Implement components 2017-10-14 18:30:59 -07:00
graph Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
pack Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
resource Add auto-parenting 2017-10-15 04:38:26 -07:00
testing/integration Pass $(YARNFLAGS) to all yarn invocations 2017-10-09 18:21:55 -07:00
tokens Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
tools Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
util Have engine emit "events" instead of writing to streams 2017-10-09 18:24:56 -07:00
workspace Remove Workspace dependency on diag.Sink 2017-10-02 15:25:22 -07:00