Documentation ¶
Index ¶
- func IsNotAnImageError(err error) bool
- type Contents
- type ImagesDescriptor
- type ImagesWriter
- type InfoLog
- type PlainImage
- func (i *PlainImage) Digest() string
- func (i *PlainImage) DigestRef() string
- func (i *PlainImage) Fetch() (regv1.Image, error)
- func (i *PlainImage) IsImage() (bool, error)
- func (i *PlainImage) Pull(outputPath string, ui ui.UI) error
- func (i *PlainImage) Repo() string
- func (i *PlainImage) Tag() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotAnImageError ¶
Types ¶
type Contents ¶
type Contents struct {
// contains filtered or unexported fields
}
func NewContents ¶
type ImagesDescriptor ¶
type ImagesDescriptor interface {
Get(regname.Reference) (*regremote.Descriptor, error)
}
type ImagesWriter ¶
type PlainImage ¶
type PlainImage struct {
// contains filtered or unexported fields
}
func NewFetchedPlainImageWithTag ¶
func NewFetchedPlainImageWithTag(digestRef string, tag string, fetchedImage regv1.Image) *PlainImage
func NewPlainImage ¶
func NewPlainImage(ref string, imgDescriptor ImagesDescriptor) *PlainImage
func (*PlainImage) Digest ¶ added in v0.27.0
func (i *PlainImage) Digest() string
Digest Image Digest
func (*PlainImage) DigestRef ¶
func (i *PlainImage) DigestRef() string
DigestRef Image full location including registry, repository and digest
func (*PlainImage) IsImage ¶
func (i *PlainImage) IsImage() (bool, error)
func (*PlainImage) Repo ¶
func (i *PlainImage) Repo() string
func (*PlainImage) Tag ¶
func (i *PlainImage) Tag() string
Click to show internal directories.
Click to hide internal directories.