validateTag checks if the given repoName can be resolved.
(rawRepo string)
| 21 | |
| 22 | // validateTag checks if the given repoName can be resolved. |
| 23 | func validateTag(rawRepo string) error { |
| 24 | _, err := reference.ParseNormalizedNamed(rawRepo) |
| 25 | |
| 26 | return err |
| 27 | } |
| 28 | |
| 29 | // validateConfig ensures that a valid config.json is available in the given path |
| 30 | func validateConfig(path string) error { |
no outgoing calls
no test coverage detected
searching dependent graphs…