Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigType ¶
type Manifest ¶
type Manifest struct { SchemaVersion int MediaType string Config ConfigType Layers []Layer }
type ThinImage ¶
type ThinImage struct { Version string `json:"version"` MinVersion string `json:"min_version,omitempty"` Origin string `json:"origin,omitempty"` Layers []ThinImageLayer `json:"layers"` Comment string `json:"comment,omitempty"` }
func MakeThinImage ¶
m is the manifest of the original image repoLocation is where inside the repo we saved the several layers origin is an ecoding fo the original referencese and original registry I believe origin is quite useless but maybe is better to preserv it for ergonomic reasons.
type ThinImageLayer ¶
Click to show internal directories.
Click to hide internal directories.