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

Function WithJobUpdatedAt

coderd/database/dbfake/dbfake.go:95–99  ·  view source on GitHub ↗

WithJobUpdatedAt sets the UpdatedAt timestamp for the provisioner job.

(t time.Time)

Source from the content-addressed store, hash-verified

93
94// WithJobUpdatedAt sets the UpdatedAt timestamp for the provisioner job.
95func WithJobUpdatedAt(t time.Time) BuilderOption {
96 return func(b *WorkspaceBuildBuilder) {
97 b.jobUpdatedAt = t
98 }
99}
100
101// WithJobCompletedAt sets the CompletedAt timestamp for the provisioner job.
102func WithJobCompletedAt(t time.Time) BuilderOption {

Calls

no outgoing calls