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

Method TemplateVersionLogsAfter

codersdk/templateversions.go:189–191  ·  view source on GitHub ↗

TemplateVersionLogsAfter streams logs for a template version that occurred after a specific log ID.

(ctx context.Context, version uuid.UUID, after int64)

Source from the content-addressed store, hash-verified

187
188// TemplateVersionLogsAfter streams logs for a template version that occurred after a specific log ID.
189func (c *Client) TemplateVersionLogsAfter(ctx context.Context, version uuid.UUID, after int64) (<-chan ProvisionerJobLog, io.Closer, error) {
190 return c.provisionerJobLogsAfter(ctx, fmt.Sprintf("/api/v2/templateversions/%s/logs", version), after)
191}
192
193// CreateTemplateVersionDryRunRequest defines the request parameters for
194// CreateTemplateVersionDryRun.

Callers 3

TestTemplateVersionLogsFunction · 0.80
toolsdk.goFile · 0.80

Calls 1

Tested by 1

TestTemplateVersionLogsFunction · 0.64