Validate reports whether the task execution request is internally consistent.
(path string)
| 883 | |
| 884 | // Validate reports whether the task execution request is internally consistent. |
| 885 | func (r ExecutionRequest) Validate(path string) error { |
| 886 | if err := ValidateMetadataSize(r.Metadata, nestedPath(path, "metadata")); err != nil { |
| 887 | return err |
| 888 | } |
| 889 | return nil |
| 890 | } |
| 891 | |
| 892 | // Validate reports whether the claim-run request is internally consistent. |
| 893 | func (r ClaimRun) Validate(path string) error { |
no test coverage detected