MCPcopy Create free account
hub / github.com/coder/coder / GetTemplateDryRun

Method GetTemplateDryRun

provisionerd/proto/provisionerd.pb.go:339–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337}
338
339func (x *FailedJob) GetTemplateDryRun() *FailedJob_TemplateDryRun {
340 if x, ok := x.GetType().(*FailedJob_TemplateDryRun_); ok {
341 return x.TemplateDryRun
342 }
343 return nil
344}
345
346func (x *FailedJob) GetErrorCode() string {
347 if x != nil {

Callers 1

runTemplateDryRunMethod · 0.45

Calls 1

GetTypeMethod · 0.95

Tested by

no test coverage detected