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

Method GetTemplateImport

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

Source from the content-addressed store, hash-verified

330}
331
332func (x *FailedJob) GetTemplateImport() *FailedJob_TemplateImport {
333 if x, ok := x.GetType().(*FailedJob_TemplateImport_); ok {
334 return x.TemplateImport
335 }
336 return nil
337}
338
339func (x *FailedJob) GetTemplateDryRun() *FailedJob_TemplateDryRun {
340 if x, ok := x.GetType().(*FailedJob_TemplateDryRun_); ok {

Callers 1

runTemplateImportMethod · 0.45

Calls 1

GetTypeMethod · 0.95

Tested by

no test coverage detected