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

Function newAcquireOne

provisionerd/provisionerd_test.go:1376–1382  ·  view source on GitHub ↗
(t *testing.T, job *proto.AcquiredJob)

Source from the content-addressed store, hash-verified

1374}
1375
1376func newAcquireOne(t *testing.T, job *proto.AcquiredJob) *acquireOne {
1377 return &acquireOne{
1378 t: t,
1379 job: job,
1380 complete: make(chan struct{}),
1381 }
1382}
1383
1384func (a *acquireOne) acquireWithCancel(stream proto.DRPCProvisionerDaemon_AcquireJobWithCancelStream) error {
1385 a.mu.Lock()

Callers 1

TestProvisionerdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected