Documentation
¶
Index ¶
- func CheckRegistryMatch(a, b string) error
- func ExtractPathFromManifest(mf *v1.Manifest) (path string, isArchive bool, err error)
- func IsDigest(imageOrTag string) bool
- func ParseManifestJSON(data io.Reader) (*v1.Manifest, error)
- func ParseOciImageString(r string) (repoName string, tag string, isDigest bool, err error)
- func ParseOciUrl(rawURL string) (*url.URL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRegistryMatch ¶
func ExtractPathFromManifest ¶
ExtractPathFromManifest returns the path information and whether the artifact contains an archive. The information is expected to be stored in the Manifest's annotations.
func ParseManifestJSON ¶
ParseManifestJSON return the v1.manifest that is yielded by the reader.
func ParseOciImageString ¶
ParseOciImageString splits the image string into the repo, tag and indicates if it is an image that is identified by a digest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.