Documentation ¶
Index ¶
- type Client
- func (c *Client) ContainerList(filterArgs filters.Args) ([]types.Container, error)
- func (c *Client) IsDanglingImage(image types.ImageInspect) bool
- func (c *Client) IsLocalImage(image types.ImageInspect) bool
- func (c *Client) RawImage(image string) (types.ImageInspect, error)
- func (c *Client) ServiceList(filterArgs filters.Args) ([]swarm.Service, error)
- type Options
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) ContainerList ¶
ContainerList returns Docker containers
func (*Client) IsDanglingImage ¶
func (c *Client) IsDanglingImage(image types.ImageInspect) 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 types.ImageInspect) bool
IsLocalImage checks if the image has been built locally
Click to show internal directories.
Click to hide internal directories.