GetTreeClientWrite returns the internal NodeReceiverClient pointing to the TreeService.
()
| 204 | |
| 205 | // GetTreeClientWrite returns the internal NodeReceiverClient pointing to the TreeService. |
| 206 | func (p *ClientsPool) GetTreeClientWrite() tree.NodeReceiverClient { |
| 207 | if p.treeClientWrite != nil { |
| 208 | return p.treeClientWrite |
| 209 | } |
| 210 | return tree.NewNodeReceiverClient(clientgrpc.ResolveConn(p.ctx, common.ServiceTreeGRPC)) |
| 211 | } |
| 212 | |
| 213 | // GetDataSourceInfo tries to find information about a DataSource, eventually retrying as DataSource |
| 214 | // could be currently starting and not yet registered in the ClientsPool. |
nothing calls this directly
no test coverage detected