WithJobError sets the error message for the provisioner job.
(msg string)
| 107 | |
| 108 | // WithJobError sets the error message for the provisioner job. |
| 109 | func WithJobError(msg string) BuilderOption { |
| 110 | return func(b *WorkspaceBuildBuilder) { |
| 111 | b.jobError = msg |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | // WithJobErrorCode sets the error code for the provisioner job. |
| 116 | func WithJobErrorCode(code string) BuilderOption { |
no outgoing calls