110 Commits

Author SHA1 Message Date
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
sophia
83495a4f8b
Fix each machine index machine yielder 2022-04-25 12:24:27 -05:00
sophia
47a0a2d7d2
Record machine client in machine index entry 2022-04-25 12:24:27 -05:00
sophia
6eea1b0afd
Add endpoint for getting all machines from the index 2022-04-25 12:24:27 -05:00
sophia
6f54cf51a2
Allow Machine Index entries to have a remote machine reference 2022-04-25 12:24:27 -05:00
sophia
991f7db5c5
Find target in index 2022-04-25 12:24:27 -05:00
sophia
3bda8b24ef
Save point: Get a target successfully from target index 2022-04-25 12:24:26 -05:00
sophia
b22c128671
Get a target from target index 2022-04-25 12:24:26 -05:00
sophia
1ea5b2ba91
Save point: use target ref to retrieve info from target index 2022-04-25 12:24:26 -05:00
sophia
293af5de29
Fill in target index implementation 2022-04-25 12:24:26 -05:00
sophia
be074047eb
wip 2022-04-25 12:24:25 -05:00
sophia
551aa2970f
Rename machine index to target index 2022-04-25 12:24:25 -05:00
sophia
16f3ba3574
Setup machine index class 2022-04-25 12:24:25 -05:00
Chris Roberts
d16eee410f
Add target initialization when loading project 2022-04-25 12:24:24 -05:00
Chris Roberts
4de0da5749
Remove factory usage from test 2022-04-25 12:24:24 -05:00
Chris Roberts
6b9e2561dc
Add plugin discovery when loading basis and project 2022-04-25 12:24:23 -05:00
Chris Roberts
0e364e8946
Need to retain the component 2022-04-25 12:24:22 -05:00
Chris Roberts
a8f8178b59
Use updated function names for fetching plugins from manager 2022-04-25 12:24:22 -05:00
Chris Roberts
e10cd26407
Use plugin manager for plugins. Remove component specialization. 2022-04-25 12:24:22 -05:00
Chris Roberts
221982d73a
Remove core component creator helper 2022-04-25 12:24:21 -05:00
sophia
f864d6aa26
Get runner accpet tests to work 2022-04-25 12:24:16 -05:00
sophia
70b71dc39e
Make no-op test work 2022-04-25 12:24:14 -05:00
sophia
8ca1a29e93
Setup a test target 2022-04-25 12:24:14 -05:00
sophia
5fc4cdcc98
Setup project for testing 2022-04-25 12:24:13 -05:00