21 Commits

Author SHA1 Message Date
Paul Hinze
52ed086644
Change TargetIndex to only search by uuid
Note this reverses a change made in
https://github.com/hashicorp/vagrant-ruby/pull/180 to attempt to address
issues losing track of machines. Further testing is in order to verify
we haven't re-broken that, but after discussion we agreed this is the
correct behavior for the index.
2022-05-25 16:19:50 -05:00
sophia
e6c50e3d7e
Add target index tests 2022-04-25 12:26:42 -05:00
sophia
dffa7547e8
Simplify target index to keep track of basis opposed to loading one in from the factory 2022-04-25 12:26:42 -05:00
sophia
5ed50277bd
Find target in index by uuid or name 2022-04-25 12:26:22 -05:00
sophia
d7f01d32fd
Update Errorf formatting 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
4dc26db12c
Update index to be free of scope and include factory 2022-04-25 12:24:31 -05:00
Chris Roberts
276af825b5
Use Save() for storing target 2022-04-25 12:24:30 -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
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
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