WithJobCompletedAt sets the CompletedAt timestamp for the provisioner job.
(t time.Time)
| 100 | |
| 101 | // WithJobCompletedAt sets the CompletedAt timestamp for the provisioner job. |
| 102 | func 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. |
| 109 | func WithJobError(msg string) BuilderOption { |
no outgoing calls