Documentation
¶
Index ¶
Constants ¶
View Source
const Port = 81
Port is the port cache listens on.
Variables ¶
This section is empty.
Functions ¶
func ManifestFile ¶
ManifestFile creates Manifest filename to be requested from the cache server.
func Mirrors ¶
func Mirrors(mirrors ...string) host.Configurator
Mirrors defines container image mirrors.
Types ¶
type Manifest ¶
type Manifest struct {
MediaType string `json:"mediaType"`
Config struct {
MediaType string `json:"mediaType"`
Digest string `json:"digest"`
} `json:"config"`
Layers []struct {
MediaType string `json:"mediaType"`
Digest string `json:"digest"`
} `json:"layers"`
}
Manifest represents container image manifest.
Click to show internal directories.
Click to hide internal directories.