terraform/plugin
Martin Atkins a1e29ae290 plugin/discovery: use go-version instead of semver
The semver library we were using doesn't have support for a "pessimistic
constraint" where e.g. the user wants to accept only minor or patch
version upgrades. This is important for providers since users will
generally want to pin their dependencies to not inadvertantly accept
breaking changes.

So here we switch to hashicorp's home-grown go-version library, which
has the ~> constraint operator for this sort of constraint.

Given how much the old version object was already intruding into the
interface and creating dependency noise in callers, this also now wraps
the "raw" go-version objects in package-local structs, thus keeping the
details encapsulated and allowing callers to deal just with this package's
own types.
2017-06-09 14:03:59 -07:00
..
discovery plugin/discovery: use go-version instead of semver 2017-06-09 14:03:59 -07:00
client.go plugin: move Client function into plugin, from plugin/discovery 2017-06-09 14:03:59 -07:00
plugin.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provider_test.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provisioner.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
resource_provisioner_test.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
serve.go plugin: bump protocol version 2017-03-01 14:42:33 -08: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