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
2cf64d733b
Fix doc string, only uuid is checked
2023-06-05 14:18:06 -07:00
Chris Roberts
0f7c4f25c1
Load target in index via factory. Filter targets.
2022-07-08 16:38:02 -07:00
Chris Roberts
ec531c5ace
Optimize target loading from index
2022-06-20 12:58:22 -07:00
Paul Hinze
8b5d4b8631
Update and address protobuf package deprecations
...
These changes address the following warning showing up on `go get`
operations:
go: module github.com/golang/protobuf is deprecated: Use the
"google.golang.org/protobuf" module instead.
All changes are made using the recommendations in the per-function
deprecation notices from the docs at
https://pkg.go.dev/github.com/golang/protobuf/ptypes
2022-06-08 11:51:19 -05:00
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