| 36 | } |
| 37 | |
| 38 | type vpnConn struct { |
| 39 | *tailnet.Conn |
| 40 | |
| 41 | cancelFn func() |
| 42 | controller *tailnet.Controller |
| 43 | updatesCtrl *tailnet.TunnelAllWorkspaceUpdatesController |
| 44 | } |
| 45 | |
| 46 | func (c *vpnConn) Ping(ctx context.Context, agentID uuid.UUID) (time.Duration, bool, *ipnstate.PingResult, error) { |
| 47 | return c.Conn.Ping(ctx, tailnet.TailscaleServicePrefix.AddrFromUUID(agentID)) |
nothing calls this directly
no outgoing calls
no test coverage detected