ProvisionerState sets the provisioner state for the workspace build. This is stored separately from the seed because ProvisionerState is not part of the WorkspaceBuild view struct.
(state []byte)
| 146 | // This is stored separately from the seed because ProvisionerState is |
| 147 | // not part of the WorkspaceBuild view struct. |
| 148 | func (b WorkspaceBuildBuilder) ProvisionerState(state []byte) WorkspaceBuildBuilder { |
| 149 | //nolint: revive // returns modified struct |
| 150 | b.provisionerState = state |
| 151 | return b |
| 152 | } |
| 153 | |
| 154 | // MarkPrebuiltWorkspaceClaim marks the build's provisioner job as the claim |
| 155 | // of a prebuilt workspace, mirroring wsbuilder.MarkPrebuiltWorkspaceClaim. |
no outgoing calls