Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = UIDGID{UID: 0, GID: 0}
Root is a root:root user.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image interface {
Digest(context.Context) (string, error)
Ensure(context.Context) error
UIDGID(context.Context) (UIDGID, error)
}
Image represents a Docker image, hopefully stored in the local cache.
type ImageCache ¶
type ImageCache struct {
// contains filtered or unexported fields
}
ImageCache is a cache of metadata about Docker images, indexed by name.
func (*ImageCache) Get ¶
func (ic *ImageCache) Get(name string) Image
Get returns the image cache entry for the given Docker image. The name may be anything the Docker command line will accept as an image name: this will generally be IMAGE or IMAGE:TAG.
Click to show internal directories.
Click to hide internal directories.