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

Function WithJobCompletedAt

coderd/database/dbfake/dbfake.go:102–106  ·  view source on GitHub ↗

WithJobCompletedAt sets the CompletedAt timestamp for the provisioner job.

(t time.Time)

Source from the content-addressed store, hash-verified

100
101// WithJobCompletedAt sets the CompletedAt timestamp for the provisioner job.
102func WithJobCompletedAt(t time.Time) BuilderOption {
103 return func(b *WorkspaceBuildBuilder) {
104 b.jobCompletedAt = t
105 }
106}
107
108// WithJobError sets the error message for the provisioner job.
109func WithJobError(msg string) BuilderOption {

Calls

no outgoing calls