Documentation
¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) ContainerInspect(containerID string) (container.InspectResponse, error)
- func (c *Client) ImageInspect(imageID string) (image.InspectResponse, error)
- func (c *Client) IsDanglingImage(image image.InspectResponse) bool
- func (c *Client) IsDigest(imageID string) bool
- func (c *Client) IsLocalImage(image image.InspectResponse) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents an active docker object
func (*Client) ContainerInspect ¶
func (c *Client) ContainerInspect(containerID string) (container.InspectResponse, error)
ContainerInspect returns the container information.
func (*Client) ImageInspect ¶ added in v0.11.0
func (c *Client) ImageInspect(imageID string) (image.InspectResponse, error)
ImageInspect returns the image information.
func (*Client) IsDanglingImage ¶
func (c *Client) IsDanglingImage(image image.InspectResponse) bool
IsDanglingImage returns whether the given image is "dangling" which means that there are no repository references to the given image, and it has no child images
func (*Client) IsLocalImage ¶
func (c *Client) IsLocalImage(image image.InspectResponse) bool
IsLocalImage checks if the image has been built locally
Click to show internal directories.
Click to hide internal directories.