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

Method Node

tailnet/coordinator.go:217–219  ·  view source on GitHub ↗

Node returns an in-memory node by ID. If the node does not exist, nil is returned.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

215// Node returns an in-memory node by ID.
216// If the node does not exist, nil is returned.
217func (c *coordinator) Node(id uuid.UUID) *Node {
218 return c.core.node(id)
219}
220
221func (c *core) node(id uuid.UUID) *Node {
222 c.mutex.Lock()

Callers

nothing calls this directly

Calls 1

nodeMethod · 0.80

Tested by

no test coverage detected