MCPcopy Create free account
hub / github.com/actiontech/dtle / ValidateJobName

Function ValidateJobName

driver/common/common.go:75–80  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

73}
74
75func ValidateJobName(name string) error {
76 if len(name) > g.JobNameLenLimit {
77 return fmt.Errorf("job name too long. jobName %v lenLimit %v", name, g.JobNameLenLimit)
78 }
79 return nil
80}
81
82func EncodeTable(v *Table) ([]byte, error) {
83 b := new(bytes.Buffer)

Callers 1

StartTaskMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected