terraform/plugin
Martin Atkins 5559d21855 plugin: Register v5 plugins only if present
Previously we would construct both provisioner and the provider objects if
either callback was set, but this is incorrect because a plugin should
actually set only one of these at a time, depending on what kind of plugin
it is.
2018-10-16 19:14:11 -07:00
..
convert move conversion functions into separate package 2018-10-16 19:11:09 -07:00
discovery registry/response: rename Collection to ProviderVersionCollection for clarity 2018-10-16 18:58:49 -07:00
mock_proto generate mocks for some of the grpc interfaces 2018-10-16 18:58:49 -07:00
proto grpc proto fixes 2018-10-16 18:58:49 -07:00
client.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00
grpc_provider.go move conversion functions into separate package 2018-10-16 19:11:09 -07:00
grpc_provider_test.go GRPCProvider and GRPCProvisioner clients 2018-10-16 18:58:49 -07:00
grpc_provisioner.go move conversion functions into separate package 2018-10-16 19:11:09 -07:00
grpc_provisioner_test.go move conversion functions into separate package 2018-10-16 19:11:09 -07:00
plugin.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider.go serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
resource_provider_test.go update tests to match new test func signature 2018-10-16 18:58:49 -07:00
resource_provisioner.go serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
resource_provisioner_test.go update tests to match new test func signature 2018-10-16 18:58:49 -07:00
serve.go plugin: Register v5 plugins only if present 2018-10-16 19:14:11 -07:00
ui_input.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_input_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00