Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImagePullError ¶
func (ImagePullError) Error ¶
func (ipe ImagePullError) Error() string
func (*ImagePullError) String ¶
func (ipe *ImagePullError) String() string
type ImagePullStats ¶
type ImagePuller ¶
type ImagePuller struct {
// contains filtered or unexported fields
}
func NewImagePuller ¶
func NewImagePuller() *ImagePuller
func (*ImagePuller) PullImage ¶
func (ip *ImagePuller) PullImage(image common.Image) ImagePullStats
PullImage gives us access to a docker image by:
- hitting a docker create endpoint (?)
- pulling down the newly created image and saving as a tarball
It does this by accessing the host's docker daemon, locally, over the docker socket. This gives us a window into any images that are local.
Click to show internal directories.
Click to hide internal directories.