Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DigestPath ¶
DigestPath returns the sha256 digest of an OCI image as a string that has been sanitized for safety as a file name
Types ¶
type OCIManifest ¶
type OCIManifest struct { SchemaVersion int `json:"schemaVersion"` Config struct { MediaType string `json:"mediaType"` Digest string `json:"digest"` Size int `json:"size"` } `json:"config"` Layers []struct { MediaType string `json:"mediaType"` Digest string `json:"digest"` Size int `json:"size"` } `json:"layers"` }
func Manifest ¶
func Manifest(image string) (OCIManifest, error)
Manifest returns the container manifest of an OCI image
Click to show internal directories.
Click to hide internal directories.