MCPcopy Create free account
hub / github.com/coder/coder / Ping

Method Ping

vpn/client.go:32–32  ·  view source on GitHub ↗
(ctx context.Context, agentID uuid.UUID)

Source from the content-addressed store, hash-verified

30 CurrentWorkspaceState() (tailnet.WorkspaceUpdate, error)
31 GetPeerDiagnostics(peerID uuid.UUID) tailnet.PeerDiagnostics
32 Ping(ctx context.Context, agentID uuid.UUID) (time.Duration, bool, *ipnstate.PingResult, error)
33 Node() *tailnet.Node
34 DERPMap() *tailcfg.DERPMap
35 Close() error

Callers 13

PingMethod · 0.65
recordLatenciesMethod · 0.65
pingWithTypeMethod · 0.65
pingPeerMethod · 0.65
TestSuiteFunction · 0.65
StartClientMethod · 0.65
TestReplicasFunction · 0.65
NewFunction · 0.65
syncReplicasMethod · 0.65
TestDERPEndToEndFunction · 0.65
connectedAgentInfoFunction · 0.65

Implementers 1

fakeConnvpn/tunnel_internal_test.go

Calls

no outgoing calls

Tested by 4

TestSuiteFunction · 0.52
TestReplicasFunction · 0.52
TestDERPEndToEndFunction · 0.52