index

package
v0.0.0-...-320afae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EntryFilename = "entry.json"
)

Variables

This section is empty.

Functions

func DigestToPath

func DigestToPath(digest utils.Digest) string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL