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

Function WithJobStartedAt

coderd/database/dbfake/dbfake.go:88–92  ·  view source on GitHub ↗

WithJobStartedAt sets the StartedAt timestamp for the provisioner job.

(t time.Time)

Source from the content-addressed store, hash-verified

86
87// WithJobStartedAt sets the StartedAt timestamp for the provisioner job.
88func WithJobStartedAt(t time.Time) BuilderOption {
89 return func(b *WorkspaceBuildBuilder) {
90 b.jobStartedAt = t
91 }
92}
93
94// WithJobUpdatedAt sets the UpdatedAt timestamp for the provisioner job.
95func WithJobUpdatedAt(t time.Time) BuilderOption {

Calls

no outgoing calls