Documentation ¶
Index ¶
Constants ¶
View Source
const (
EntryFilename = "entry.json"
)
Variables ¶
This section is empty.
Functions ¶
func DigestToPath ¶
Split the digest into its prefix, and then two character chunks, separated by slashes, so that each directory contains at most 255 entries.
Types ¶
type IndexEntry ¶
type IndexEntry struct { MediaType string `json:"mediaType"` Digest string `json:"digest"` Size int `json:"size"` URLS []string `json:"urls"` }
Vaguely similar to https://github.com/opencontainers/image-spec/blob/main/descriptor.md
Click to show internal directories.
Click to hide internal directories.