Commit Graph

173 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
Radek Simko 28b33c9299
plugin: Display version + source when initializing plugins
9 years ago
Radek Simko de3015cebf
Remove overly verbose DEBUG log
9 years ago
Martin Atkins ac250d2792 plugin/discovery: trim off .exe suffix when parsing filenames
9 years ago
James Bardin 2b84e786e9 allow missing x-terraform-protocol-version
9 years ago
Martin Atkins 610fcb605e plugin/discovery: allow customizing the OS/arch for auto-install
9 years ago
James Bardin beebd5cee3 improve discovery logging
9 years ago
James Bardin e059eb80d1 add test for signature mismatch
9 years ago
James Bardin 2cca6f10fa return sig error when fetching a plugin
9 years ago
James Bardin c10f5caf05 Merge pull request #15345 from hashicorp/jbardin/plugin-sig
9 years ago
Martin Atkins af2111f24e plugin/discovery: sentinel error values for Get errors
9 years ago
James Bardin 13d835f996 test signature verification
9 years ago
James Bardin 415d562d36 add signature verification
9 years ago
James Bardin 2e57d284cb Merge pull request #15323 from hashicorp/jbardin/constraint-suggestion
9 years ago
James Bardin ec99b6910b remove "~> 0.0" constraint suggestions
9 years ago
James Bardin 6faace287d remove restriction on unversioned plugins
9 years ago
James Bardin ba5b0dc609 mostly remove OS_ARCH knowledge from discovery
9 years ago
James Bardin f723270e3e search the vendor directory for plugins
9 years ago
Martin Atkins af4c82d151 plugin/discovery: Installer.PurgeUnused method
9 years ago
Martin Atkins f753974bb3 plugin/discovery: Installer interface, and provider implementation
9 years ago
James Bardin 840978b2d5 udpate to plugin name convention
9 years ago
James Bardin 1b201e67ea fix releases path and protocol header
9 years ago
James Bardin 283ae0c7c4 fix comment and add some logging in discovery
9 years ago
James Bardin ea3d9c86ba sort constraints for consistent output
9 years ago
Martin Atkins 4ba20f9c1c command init: show suggested constraints for unconstrained providers
9 years ago
James Bardin dbbafbd43f clean up plugin fetching
9 years ago
James Bardin 48d37131e0 more tests for fetching providers
9 years ago
James Bardin 5f053a2e64 refactor GetProvider
9 years ago
James Bardin 8ad67991a5 check protocol version on plugins
9 years ago
James Bardin fdeb3d929c Add Versions.Sort
9 years ago
Martin Atkins 04bcece59c plugin/discovery: handle the -Xn suffix used by auto-installed plugins
9 years ago
Martin Atkins e3401947a6 plugin/discovery: PluginRequirements can specify SHA256 digests
9 years ago
James Bardin 044ad5ef59 rename some Constraints methods per code review
9 years ago
James Bardin 211f5b5d6e add test for newestVersion
9 years ago
James Bardin 46190590cb change []*Version to []Version
9 years ago
James Bardin a547e7c2f0 add releases version listing test
9 years ago
James Bardin 2749946f5c basic plugin getter
9 years ago
James Bardin fa49c69793 expose Version.NewerThan
9 years ago
James Bardin 7d2d951f27 Rename VersionSet to Constraints
9 years ago
James Bardin 718ede0636 have Meta.Backend use a Config rather than loading
9 years ago
Martin Atkins cfc08ae7e3 plugin/discovery: provide an AllVersions set
9 years ago
Martin Atkins a1e29ae290 plugin/discovery: use go-version instead of semver
9 years ago
Martin Atkins 9b4f15c261 plugin: move Client function into plugin, from plugin/discovery
9 years ago
Martin Atkins bcd395e6bd plugin/discovery: Allow overriding the paths of certain plugin names
9 years ago
Martin Atkins 551bc9c4a4 plugin/discovery: build plugin clients
9 years ago
Martin Atkins 0a08214a74 plugin/discovery: SHA256() method to get the hash of each plugin
9 years ago
Martin Atkins a94e9a4362 plugin/discovery: find plugins in a given set of directories
9 years ago
Martin Atkins 39deb1ff6b plugin/discovery: helpers for wrangling plugin versions
9 years ago
Mitchell Hashimoto 700c74bdd0
plugin: bump protocol version
9 years ago
Mitchell Hashimoto 96884ec42d
plugin: bump the protocol version due to Provisioner change
9 years ago
Mitchell Hashimoto 2e894c4ef7
plugin: add ResourceProvisioner.Stop API
9 years ago
Mitchell Hashimoto b3124e16ca
plugin: bump protocol version
9 years ago
Mitchell Hashimoto 045ddf3695
plugin: implement ResourceProvider.Stop
10 years ago
Mitchell Hashimoto 60140b28f4
Revert "Merge pull request #9536 from hashicorp/f-provider-stop"
10 years ago
Mitchell Hashimoto 43b5818b55
plugin: implement ResourceProvider.Stop
10 years ago
Clint a9aaf44a87 fix make issues (supersedes #7868) (#7876)
10 years ago
Martin Atkins 0e0e3d73af core: New ResourceProvider methods for data resources
10 years ago
Mitchell Hashimoto ba84485c87
plugin: tests for ImportState
10 years ago
Mitchell Hashimoto a6b4bb4932
plugin: new API for ImportState
10 years ago
Mitchell Hashimoto 498e23162d
plugin: implement new interface methods
10 years ago
Mitchell Hashimoto 84214437b3 Use hashicorp/go-plugin for plugin system
10 years ago
Martin Atkins 8173cd25bb Demote some log lines to DEBUG.
11 years ago
Sander van Harmelen c9e9e374bb Adding some abstractions for the communicators
11 years ago
Mitchell Hashimoto 04858e1a15 plugin: Client/Server uses new RPC client/server
12 years ago
Mitchell Hashimoto 0281c1108e rpc: Create the Client/Server
12 years ago
Mitchell Hashimoto 0de633abeb plugin: up API version to 2
12 years ago
Mitchell Hashimoto 08dbf4daf0 fmt
12 years ago
Mitchell Hashimoto fb9810ca5c website: document how to write providers using the new helper/schema
12 years ago
Alex Gaynor 46154ca1d3 Fixed a ton of typos in docs and comments
12 years ago
Mitchell Hashimoto e0f2197d6c plugin: better logging
12 years ago
Armon Dadgar 3849ca80ef plugin: Adding support for provisioners
12 years ago
Mitchell Hashimoto 0cda9a7539 some comments, package comments
12 years ago
Mitchell Hashimoto 8163d364c9 plugin: ResourceProviderFactory
12 years ago
Mitchell Hashimoto 951b7b18eb plugin: can execute plugins and communicate that way
12 years ago