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

Method Pending

coderd/database/dbfake/dbfake.go:231–238  ·  view source on GitHub ↗

Pending sets the job to pending status.

(opts ...BuilderOption)

Source from the content-addressed store, hash-verified

229
230// Pending sets the job to pending status.
231func (b WorkspaceBuildBuilder) Pending(opts ...BuilderOption) WorkspaceBuildBuilder {
232 //nolint: revive // returns modified struct
233 b.jobStatus = database.ProvisionerJobStatusPending
234 for _, opt := range opts {
235 opt(&b)
236 }
237 return b
238}
239
240// Canceled sets the job to canceled status.
241func (b WorkspaceBuildBuilder) Canceled(opts ...BuilderOption) WorkspaceBuildBuilder {

Calls

no outgoing calls