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

Struct tunnelUpdater

tailnet/controllers.go:1140–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140type tunnelUpdater struct {
1141 errChan chan error
1142 logger slog.Logger
1143 client WorkspaceUpdatesClient
1144 coordCtrl *TunnelSrcCoordController
1145 dnsHostsSetter DNSHostsSetter
1146 updateHandler UpdatesHandler
1147 ownerUsername string
1148 recvLoopDone chan struct{}
1149 dnsNameOptions DNSNameOptions
1150
1151 sync.Mutex
1152 workspaces map[uuid.UUID]*Workspace
1153 closed bool
1154}
1155
1156func (t *tunnelUpdater) Close(ctx context.Context) error {
1157 t.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected