sophia
053d658e52
Get default provider from go side
...
For now the go side will just return a hard coded value for the
default provider. It should be implementing the algorithm defined
at https://www.vagrantup.com/docs/providers/basic_usage.html#default-provider
2022-05-04 11:23:12 -05:00
sophia
92a0b1c541
Allow remote machine to be initialized with just a machine client
2022-05-04 11:23:06 -05:00
sophia
31393eb3a9
Fill in some missing target client functions
2022-05-04 11:22:41 -05:00
sophia
6d1359b1f0
Get Provider from target
2022-05-04 11:22:41 -05:00
sophia
0117c01e4b
Fill in environment remote class
2022-05-04 11:22:41 -05:00
sophia
f340e192f2
Fill in project ruby client
2022-05-04 11:22:41 -05:00
Sophia Castellarin
b842f6841a
Merge pull request #259 from hashicorp/finish-machine
...
Finish machine
2022-05-04 10:17:12 -05:00
sophia
07e3f7e804
Fix machine state tests
2022-05-04 09:45:51 -05:00
sophia
fa561cab29
Fill in mock machine client methods
2022-05-04 09:32:36 -05:00
sophia
4932932b2b
Bump sdk
2022-05-04 09:32:36 -05:00
sophia
2000a53b06
Initialize from client if provided, otherwise from passed in environment
2022-05-04 09:32:36 -05:00
sophia
0a37521ef2
Remove reload machine function from the grpc api
2022-05-04 09:32:36 -05:00
sophia
6dfca17d54
Get machine state from go impl
2022-05-04 09:32:36 -05:00
sophia
b4fbf76a33
Plug machine#uid methods into remote go backend
2022-05-04 09:32:36 -05:00
sophia
5ab49f33bc
Refactor remote machine
2022-05-04 09:32:36 -05:00
Sophia Castellarin
3dcfd32edc
Merge pull request #266 from hashicorp/make-tests-pass
...
Make tests pass
2022-05-04 09:31:47 -05:00
sophia
692dcb1b92
Allow testing plugins to have parent plugins
2022-05-02 16:50:01 -05:00
sophia
d135f24f49
Add target specialization tests
2022-05-02 15:52:36 -05:00
sophia
85ea3c3d1f
Update machine tests
2022-05-02 15:36:47 -05:00
sophia
33ecb07156
Refactor mocks to be wrapped by testing plugin objects
2022-05-02 15:36:01 -05:00
sophia
8df560d659
Set mock guest/host plugin name
2022-05-02 15:31:41 -05:00
sophia
852a87f9d0
Add mock behaviour for getting seeds
2022-05-02 14:56:27 -05:00
sophia
b381487dd2
Use testing plugins to populate testing plugin manager
2022-05-02 14:52:41 -05:00
sophia
c712afad8f
Update testing plugins
2022-05-02 12:33:18 -05:00
Paul Hinze
db14bf00e2
Merge pull request #265 from hashicorp/fix-ci-invalid-key
...
ci: Remove invalid key from workflow
2022-04-29 13:57:18 -05:00
Paul Hinze
198649be9f
ci: Remove invalid key from workflow
...
See https://github.community/t/worflow-with-dispatch-and-branches-setting-suddenly-not-supported-anymore/247732/29
2022-04-29 12:41:43 -05:00
Chris Roberts
0bd1a62ac3
Merge pull request #257 from hashicorp/plugin-closers
...
Properly cleanup plugins
2022-04-28 09:56:42 -07:00
Chris Roberts
c0b17ae4f3
Update SDK ref
2022-04-28 09:56:29 -07:00
Chris Roberts
bd849581f6
Cache the machine instance of the target
2022-04-27 15:56:49 -07:00
Chris Roberts
4e6c24b631
Include target name in debug output
2022-04-27 15:56:27 -07:00
Chris Roberts
a80effe196
Do not set target into cache from options
2022-04-27 15:56:04 -07:00
Chris Roberts
7c93e6b0f1
Update plugin related functions for manager changes
2022-04-25 16:12:38 -07:00
Chris Roberts
eef7eca1c5
Use dedicated function to check for legacy
2022-04-25 16:12:38 -07:00
Chris Roberts
813963cb7b
Update log level for trace type message
2022-04-25 16:12:38 -07:00
Chris Roberts
32807020af
Update basis to use cleanup
2022-04-25 16:12:38 -07:00
Chris Roberts
f8ac4dd1a5
Close sub plugin manager when basis is closed
2022-04-25 16:12:38 -07:00
Chris Roberts
c2a912bacc
Use core manager cleanup for generated internal
2022-04-25 16:12:38 -07:00
Chris Roberts
1594545d18
Remove helpers which are no longer valid
2022-04-25 16:12:38 -07:00
Chris Roberts
6d45d07f3f
Update plugin to use cleanup
2022-04-25 16:12:38 -07:00
Chris Roberts
5b04ac5c35
Isolate our basis validity to single operation
2022-04-25 16:12:38 -07:00
Chris Roberts
f39e5709f4
Make plugin manager usage consistent
...
Updated to properly handle sub managers. Configurators
from parent managers properly applied to instances. Instances
are cached within requesting manager. Parent loading is also
handled in calling manager to properly support parent caching.
Closers implementation replaced with 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
bbf7e0fb12
Generated proto updates
2022-04-25 16:12:38 -07:00
Chris Roberts
6c7e154a92
Only register managers if legacy is loaded. Close core manager.
2022-04-25 16:01:10 -07:00
Chris Roberts
287268635a
Update basis ResourceId() function to match core signature
2022-04-25 16:01:10 -07:00
Chris Roberts
1a07190bb2
Update core manager to cleanup properly, use regular mapping
2022-04-25 16:01:10 -07:00
Chris Roberts
5e277410f3
Use regular mapper for manager and properly cleanup on close
2022-04-25 16:01:10 -07:00
Chris Roberts
8b5bab5250
Update plugin manager to cache named plugins
2022-04-25 16:01:10 -07:00
Chris Roberts
234734061c
Add internal interface implementation for managers
2022-04-25 16:01:10 -07:00
Chris Roberts
616e003c42
When creating a plugin instance, register closer
2022-04-25 16:01:10 -07:00