Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Transport = dockerTransport{}
Transport is an ImageTransport for Docker registry-hosted images.
Functions ¶
func NewReference ¶
func NewReference(ref reference.Named) (types.ImageReference, error)
NewReference returns a Docker reference for a named reference. The reference must satisfy !reference.IsNameOnly().
func ParseReference ¶
func ParseReference(refString string) (types.ImageReference, error)
ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an Docker ImageReference.
Types ¶
type ErrFetchManifest ¶
type ErrFetchManifest struct {
// contains filtered or unexported fields
}
ErrFetchManifest provides the error when fetching the manifest fails
func (ErrFetchManifest) Error ¶
func (e ErrFetchManifest) Error() string
type Image ¶
Image is a Docker-specific implementation of types.Image with a few extra methods which are specific to Docker.
func (*Image) GetRepositoryTags ¶
GetRepositoryTags list all tags available in the repository. Note that this has no connection with the tag(s) used for this specific image, if any.
func (*Image) SourceRefFullName ¶
SourceRefFullName returns a fully expanded name for the repository this image is in.