MCPcopy Index your code
hub / github.com/coder/coder / fakeCoordinatee

Struct fakeCoordinatee

tailnet/controllers_test.go:548–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548type 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
556func (f *fakeCoordinatee) UpdatePeers(updates []*proto.CoordinateResponse_PeerUpdate) error {
557 f.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected