Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageInRepo ¶
ImageInRepo checks whether an image exists in the repository
Types ¶
type AllImages ¶
type AllImages struct {
Images []ImageData
}
AllImages is used to get all the images
type Manifest ¶
type Manifest struct {
SchemaVersion int `json:"schemaVersion"`
Name string `json:"name"`
Tag string `json:"tag"`
Architecture string `json:"architecture"`
FsLayers []struct {
BlobSum string `json:"blobSum"`
} `json:"fsLayers"`
History []struct {
V1Compatibility string `json:"v1Compatibility"`
} `json:"history"`
}
Manifest is used to map the response from Docker Registry API v2
Click to show internal directories.
Click to hide internal directories.