| 546 | } |
| 547 | |
| 548 | type fakeCoordinatee struct { |
| 549 | sync.Mutex |
| 550 | callback func(*tailnet.Node) |
| 551 | updates [][]*proto.CoordinateResponse_PeerUpdate |
| 552 | setAllPeersLostCalls int |
| 553 | tunnelDestinations map[uuid.UUID]struct{} |
| 554 | } |
| 555 | |
| 556 | func (f *fakeCoordinatee) UpdatePeers(updates []*proto.CoordinateResponse_PeerUpdate) error { |
| 557 | f.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected