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

Method get

agent/agentproc/process.go:232–237  ·  view source on GitHub ↗

get returns a process by ID.

(id string)

Source from the content-addressed store, hash-verified

230
231// get returns a process by ID.
232func (m *manager) get(id string) (*process, bool) {
233 m.mu.Lock()
234 defer m.mu.Unlock()
235 proc, ok := m.procs[id]
236 return proc, ok
237}
238
239// list returns info about all tracked processes. Exited
240// processes older than exitedProcessReapAge are removed.

Callers 15

PortForwardPopoverViewFunction · 0.80
organizeAgentAppsFunction · 0.80
ParameterFieldFunction · 0.80
parameterErrorFunction · 0.80
renderDashboardLayoutFunction · 0.80
useSyncFormParametersFunction · 0.80
isNonInitialPageFunction · 0.80
useFilterFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 9

renderDashboardLayoutFunction · 0.64
extractVariableFunction · 0.64
renderScheduleControlsFunction · 0.64
simulateEventMethod · 0.64
addEventListenerMethod · 0.64
removeEventListenerMethod · 0.64
simulateOpenMethod · 0.64
simulateMessageMethod · 0.64
simulateCloseMethod · 0.64