Documentation ¶
Index ¶
- func ParseImageName(imgName string, transportType string) (types.ImageReference, error)
- func PullImage(imagesDir string, image string) ([]byte, error)
- func UnpackImage(imagesDir string, containersDir string, containerName string, imageName string, ...) error
- type Manifest
- type ManifestAnnotations
- type ManifestConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseImageName ¶
func ParseImageName(imgName string, transportType string) (types.ImageReference, error)
ParseImageName converts a URL-like image name to a types.ImageReference.
Types ¶
type Manifest ¶
type Manifest struct { Name string MediaType string `json:"mediaType"` Digest string `json:"digest"` Size int `json:"size"` Annotations ManifestAnnotations `json:"annotations"` }
func ListManifests ¶
type ManifestAnnotations ¶
type ManifestAnnotations struct {
Tag string `json:"org.opencontainers.image.ref.name"`
}
type ManifestConfig ¶
Click to show internal directories.
Click to hide internal directories.