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

Struct TunnelSrcCoordController

tailnet/controllers.go:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395type TunnelSrcCoordController struct {
396 *BasicCoordinationController
397
398 mu sync.Mutex
399 dests map[uuid.UUID]struct{}
400 coordination *BasicCoordination
401}
402
403// NewTunnelSrcCoordController creates a CoordinationController for peers that are exclusively
404// tunnel sources (that is, they create tunnel --- Coder clients not workspaces).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected