mirror of https://github.com/pulumi/pulumi.git
11fc7e7f2b
This commit adds a new counterpart to `ComponentMain` which accepts an options struct for specifying callback functions. Currently it supports `construct` (for components) and `call` (for methods), but is extensible in a non-breaking fashion in future to support all other provider methods as they become useful to implement. The original `ComponentMain` still exists, though it may be desirable to deprecate it in future in favor of `MainWithOptions`. |
||
---|---|---|
.. | ||
component_provider.go | ||
doc.go | ||
host.go | ||
main.go |