32 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
f5d778d51a Revert "Merge pull request #300 from hashicorp/optimize-ruby-command-list"
This reverts commit 1c26a4abb0c9e095b3f6ec9944c4b15f6f1cd064, reversing
changes made to 186824a568583d8f6f2a50501d940ed71608fa0b.

The changes broke plugin loading when using subcommands so these
changes will be reverted until the underlying issue can be
investigated and resolved.
2022-07-07 14:03:56 -07:00
Chris Roberts
ced8f947f8 Modify ordering of attributes 2022-06-29 16:11:30 -07:00
Chris Roberts
1134a4e5ed Update plugin manager loading. Add ruby client. 2022-06-15 11:08:03 -07:00
sophia
0cdb63db58 Flush out http downloader 2022-06-08 10:30:46 -05:00
sophia
36081df049 Load filedownloader plugin 2022-06-08 10:30:46 -05:00
Paul Hinze
8dbe72a5a0
Use Component Options to implement ProviderOptions
* Populates ComponentOptions into plugin structs
* Maps options for legacy Provider Plugins into PluginOptions
* Demos use of PluginOptions in a stub provider
* Honors plugin priority and defaultable settings
2022-06-03 16:37:05 -05:00
Chris Roberts
6d45d07f3f Update plugin to use cleanup 2022-04-25 16:12:38 -07:00
Chris Roberts
45e7814842 Remove parent loading and caching from plugin 2022-04-25 16:12:38 -07:00
Chris Roberts
616e003c42 When creating a plugin instance, register closer 2022-04-25 16:01:10 -07:00
Chris Roberts
1ca5872a5a
Define component types which can be cached 2022-04-25 12:26:58 -05:00
sophia
19f3d2f0b6
Refactor named plugin bits to apply to all components 2022-04-25 12:26:33 -05:00
Chris Roberts
27d0fee45f
Define plugin interfaces in plugin. Load parent from plugin.
Also applies registered configurations from the plugin
    manager when providing a requested component type.
2022-04-25 12:26:14 -05:00
Chris Roberts
e4f1e297ab
Update plugin seed function signature 2022-04-25 12:26:05 -05:00
sophia
c4cd5c599b
Add mappers to component at component creation phase 2022-04-25 12:25:51 -05:00
Chris Roberts
7595f1533f
Enable plugin mappers 2022-04-25 12:25:50 -05:00
sophia
cafa1d039d
Load single parent plugin 2022-04-25 12:24:48 -05:00
sophia
cda3ba7b29
Make myplugin have parents darwin and bsd 2022-04-25 12:24:48 -05:00
sophia
2bd95144e7
Seed plugin on startup 2022-04-25 12:24:48 -05:00
sophia
3d0197d0bf
Store plugin parents 2022-04-25 12:24:47 -05:00
Chris Roberts
891541cd40
Create cache in manager and set into plugin if available 2022-04-25 12:24:47 -05:00
sophia
47a0a2d7d2
Record machine client in machine index entry 2022-04-25 12:24:27 -05:00
Chris Roberts
392ad6d3b7
Define plugin struct in plugin file and remove factories 2022-04-25 12:24:22 -05:00
Chris Roberts
6689d8cb6b
Add PluginInfo component type to factory 2022-04-25 12:24:12 -05:00
Chris Roberts
05d5634c83
Host component related work 2022-04-25 12:24:10 -05:00
sophia
88bcb0378e
Save point - broken 2022-04-25 12:24:09 -05:00
sophia
bc095b06dc
Don't initialize hosts with basis 2022-04-25 12:24:04 -05:00
sophia
dfd604bd1b
Run capabilities 2022-04-25 12:24:04 -05:00
Chris Roberts
c2fe40854f
Register otherplugin in builtins list 2022-04-25 12:24:03 -05:00
sophia
e9e7768472
Register command with subcommands (subcommands are not seperate plugins) 2022-04-25 12:24:01 -05:00
sophia
66300d9d32
Execute subcommands 2022-04-25 12:24:01 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00