433 Commits

Author SHA1 Message Date
sophia
15b4cc25bf
Add tests 2022-04-25 12:25:51 -05:00
sophia
8e005c9ee1
Setup box metadata 2022-04-25 12:25:51 -05:00
sophia
52e9e49e4d
Start defining box metadata 2022-04-25 12:25:51 -05:00
sophia
c4cd5c599b
Add mappers to component at component creation phase 2022-04-25 12:25:51 -05:00
sophia
63c71b0a20
Append mappers to a plugin component 2022-04-25 12:25:51 -05:00
Chris Roberts
7595f1533f
Enable plugin mappers 2022-04-25 12:25:50 -05:00
Chris Roberts
038d4b16c3
Cache host value to prevent multiple lookups during run 2022-04-25 12:25:50 -05:00
sophia
22c75fe979
Raise error for failing to load parent plugin 2022-04-25 12:25:49 -05:00
Chris Roberts
cb869a6597
Fix up logging, singularize name 2022-04-25 12:25:49 -05:00
sophia
cafa1d039d
Load single parent plugin 2022-04-25 12:24:48 -05:00
sophia
fd96279d82
Count number of parents for host plugin 2022-04-25 12:24:48 -05:00
sophia
f1f1b8c79d
Update parents -> parent 2022-04-25 12:24:48 -05:00
sophia
3d0197d0bf
Store plugin parents 2022-04-25 12:24:47 -05:00
Chris Roberts
7cc07642a5
Use project for host capabilities 2022-04-25 12:24:47 -05:00
Chris Roberts
66d2a70291
Seed host and guest plugins 2022-04-25 12:24:45 -05:00
Chris Roberts
99978cf9d6
Set statebag into host plugin 2022-04-25 12:24:45 -05:00
sophia
58ffe630a2
Pass statebag to host detect function 2022-04-25 12:24:41 -05:00
sophia
97baac8772
Check for parents if host detected 2022-04-25 12:24:41 -05:00
sophia
f845222c44
Add statebag to basis 2022-04-25 12:24:40 -05:00
sophia
631a630e68
Implement statebag 2022-04-25 12:24:40 -05:00
sophia
b30bbcb13a
Don't check for 'found' in basis/project/target query results 2022-04-25 12:24:39 -05:00
sophia
591dcced22
Remotve machine names function from project 2022-04-25 12:24:37 -05:00
sophia
5ca687cad4
Implement project home path, cwd and default private key 2022-04-25 12:24:36 -05:00
sophia
6b007f27bb
Detect guest for machine 2022-04-25 12:24:35 -05:00
Chris Roberts
90903417c4
Use plugin submanager within new basis instances 2022-04-25 12:24:34 -05:00
sophia
d7f01d32fd
Update Errorf formatting 2022-04-25 12:24:33 -05:00
Chris Roberts
f1a262c01f
Return stubbed value for provider name 2022-04-25 12:24:33 -05:00
Chris Roberts
71d5195fb3
Get provider name from target client 2022-04-25 12:24:33 -05:00
Chris Roberts
9a9c04409c
Check error for not found and return false result 2022-04-25 12:24:33 -05:00
Chris Roberts
3f6aef88a2
Fix target loading from target index 2022-04-25 12:24:32 -05:00
Chris Roberts
8b8f5adf67
Defer the unlock when loading target 2022-04-25 12:24:31 -05:00
Chris Roberts
4dc26db12c
Update index to be free of scope and include factory 2022-04-25 12:24:31 -05:00
Chris Roberts
c4011c7fde
Attach factory to basis. Let basis provide target index 2022-04-25 12:24:31 -05:00
Chris Roberts
c562132e11
Update save behavior of project and get target index from basis 2022-04-25 12:24:31 -05:00
Chris Roberts
87ecd2b017
Add destroy function for target, update save behavior 2022-04-25 12:24:31 -05:00
Chris Roberts
32710b5d79
Create basis from factory and update runner to use factory 2022-04-25 12:24:30 -05:00
Chris Roberts
276af825b5
Use Save() for storing target 2022-04-25 12:24:30 -05:00
Chris Roberts
4f698c9ab2
Set resource ID into target proto for search 2022-04-25 12:24:30 -05:00
Chris Roberts
99e01aa9f9
Set target data after save 2022-04-25 12:24:29 -05:00
Chris Roberts
9319409d45
Load all targets defined within project 2022-04-25 12:24:29 -05:00
Chris Roberts
b9478e7eee
Load target when not already loaded 2022-04-25 12:24:29 -05:00
sophia
eb90501fd1
Make test for project more basic 2022-04-25 12:24:29 -05:00
sophia
806f6e7399
Set a target dir when loading from a project 2022-04-25 12:24:29 -05:00
sophia
10a1f1011b
Get datadir for machine and project 2022-04-25 12:24:29 -05:00
sophia
32df0557e0
Fix core tests 2022-04-25 12:24:28 -05:00
sophia
3e74501d26
Get full path to Vagrantfile without Vagrantfile name 2022-04-25 12:24:28 -05:00
sophia
6cde007530
Get Vagrantfile path from project 2022-04-25 12:24:28 -05:00
sophia
0778e615e9
Remote NewTarget method 2022-04-25 12:24:28 -05:00
sophia
154a4e56f0
Use uuid as Target Index identifier 2022-04-25 12:24:28 -05:00
sophia
466c692d1c
Update target index interface to use core.TargetRef instead of protos 2022-04-25 12:24:28 -05:00