Validate reports whether the claim-run request is internally consistent.
(path string)
| 891 | |
| 892 | // Validate reports whether the claim-run request is internally consistent. |
| 893 | func (r ClaimRun) Validate(path string) error { |
| 894 | if strings.TrimSpace(path) == "" { |
| 895 | return fmt.Errorf("%w: claim_run path is required", ErrValidation) |
| 896 | } |
| 897 | return nil |
| 898 | } |
| 899 | |
| 900 | // Validate reports whether the start-run request is internally consistent. |
| 901 | func (r StartRun) Validate(path string) error { |
no outgoing calls
no test coverage detected