Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTPS = "https://" HTTP = "http://" )
Variables ¶
This section is empty.
Functions ¶
func NewProxyRegistry ¶
Types ¶
type BlobList ¶
type BlobList struct { Layers []distribution.Descriptor `json:"layers"` Config distribution.Descriptor `json:"config"` MediaType string `json:"mediaType"` Schema int `json:"schemaVersion"` }
this package unmarshal blobs from json into a BlobList struct then return a slice of blob digest
type DefaultImageSaver ¶
type DefaultImageSaver struct {
// contains filtered or unexported fields
}
func (*DefaultImageSaver) SaveImages ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is a storagedriver.StorageDriver implementation backed by a local filesystem. All provided paths will be subpaths of the RootDirectory.
func FromParameters ¶
FromParameters constructs a new Driver with a given parameters map Optional Parameters: - rootdirectory - maxthreads
func New ¶
func New(params DriverParameters) *Driver
New constructs a new Driver with a given rootDirectory
type DriverParameters ¶
DriverParameters represents all configuration options available for the filesystem driver
type ImageMainfest ¶
type ManifestList ¶
type ManifestList struct { List []ImageMainfest `json:"manifests"` MediaType string `json:"mediaType"` Schema int `json:"schemaVersion"` }
this package unmarshal manifests from json into a ManifestList struct then choose corresponding manifest by platform
Source Files ¶
Click to show internal directories.
Click to hide internal directories.