Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintPullMessage ¶
func PrintPullMessage(out io.ReadCloser, printFunc PrintFunc) error
PrintPullMessage decodes and prints docker pull message
Types ¶
type Client ¶
type Client interface {
PullImage(image, tag string) (io.ReadCloser, error)
}
Client represents the interface of Docker Engine API client
type RealClient ¶
type RealClient struct {
// contains filtered or unexported fields
}
RealClient represents the wrapper of Docker API client
func (*RealClient) PullImage ¶
func (c *RealClient) PullImage(image, tag string) (io.ReadCloser, error)
PullImage pulls image from Docker Image Registry
Click to show internal directories.
Click to hide internal directories.