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

Struct dynamicRenderer

coderd/dynamicparameters/render.go:215–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215type dynamicRenderer struct {
216 db database.Store
217 data *loader
218 templateFS fs.FS
219
220 ownerErrors map[uuid.UUID]error
221 currentOwner *previewtypes.WorkspaceOwner
222 tfvarValues map[string]cty.Value
223
224 once sync.Once
225 close func()
226}
227
228func (r *dynamicRenderer) Render(ctx context.Context, ownerID uuid.UUID, values map[string]string) (*preview.Output, hcl.Diagnostics) {
229 // Always start with the cached error, if we have one.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected