PackageArtifactInfo is an interface that must be implemented by all package-specific artifact info types. It ensures that all package artifact infos can be converted to the base ArtifactInfo type.
| 22 | // artifact info types. It ensures that all package artifact infos can be converted to |
| 23 | // the base ArtifactInfo type. |
| 24 | type PackageArtifactInfo interface { |
| 25 | BaseArtifactInfo() ArtifactInfo |
| 26 | GetImageVersion() (bool, string) |
| 27 | |
| 28 | GetVersion() string |
| 29 | |
| 30 | GetFileName() string |
| 31 | } |
| 32 | |
| 33 | // ArtifactInfoProvider is an interface that must be implemented by package handlers |
| 34 | // to provide artifact information from HTTP requests. |
no outgoing calls
no test coverage detected
searching dependent graphs…