pulumi/pkg/resource/plugin
Alex Clemmer a172f1a048 Implement partial `Read`
Some time ago, we introduced the concept of the initialization error to
Pulumi (i.e., an error where the resource was successfully created but
failed to fully initialize). This was originally implemented in `Create`
and `Update`  methods of the resource provider interface; when we
detected an initialization failure, we'd pack the live version of the
object into the error, and return that to the engine.

Omitted from this initial implementation was a similar semantics for
`Read`. There are many implications of this, but one of them is that a
`pulumi refresh` will erase any initialization errors that had
previously been observed, even if the initialization errors still exist
in the resource.

This commit will introduce the initialization error semantics to `Read`,
fixing this issue.
2018-08-10 15:10:14 -07:00
..
analyzer.go Add license headers 2018-05-22 15:02:47 -07:00
analyzer_plugin.go Add license headers 2018-05-22 15:02:47 -07:00
check.go Add license headers 2018-05-22 15:02:47 -07:00
config_source.go Add license headers 2018-05-22 15:02:47 -07:00
context.go Allow more types for runtimeOptions 2018-08-06 14:00:58 -07:00
host.go Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
host_server.go Add support for providing a log stream-id to our RPC interface. (#1627) 2018-07-11 15:04:00 -07:00
langruntime.go Add license headers 2018-05-22 15:02:47 -07:00
langruntime_plugin.go Allow more types for runtimeOptions 2018-08-06 14:00:58 -07:00
plugin.go Do not add a newline between a stream of info messages. The contract is that these will just be appended continguously. (#1688) 2018-08-02 10:55:15 -04:00
provider.go Implement partial `Read` 2018-08-10 15:10:14 -07:00
provider_plugin.go Implement partial `Read` 2018-08-10 15:10:14 -07:00
rpc.go Add license headers 2018-05-22 15:02:47 -07:00
rpc_test.go Add license headers 2018-05-22 15:02:47 -07:00