Documentation ¶
Index ¶
- func DeleteDockerImage(cli *client.Client, tag types.Tag) (reducedSpace int64)
- func DeleteDockerTags(cli *client.Client, tags []types.Tag) int64
- func ListDockerContainers(cli *client.Client) []dockerTypes.Container
- func ListDockerImages(cli *client.Client) []dockerTypes.ImageSummary
- func PruneUnusedContainers(cli *client.Client)
- func PruneUnusedImages(cli *client.Client, dangling bool) (report dockerTypes.ImagesPruneReport)
- func PruneUnusedNetworks(cli *client.Client)
- func PruneUnusedVolumes(cli *client.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDockerImage ¶
DeleteDockerImage removes image by ID or tag by Name
func DeleteDockerTags ¶
DeleteDockerTags removes given tags
func ListDockerContainers ¶
func ListDockerContainers(cli *client.Client) []dockerTypes.Container
ListDockerContainers lists all message on the given docker client
func ListDockerImages ¶
func ListDockerImages(cli *client.Client) []dockerTypes.ImageSummary
ListDockerImages lists all message on the given docker client
func PruneUnusedContainers ¶
PruneUnusedContainers removes all unsused containers same as 'docker container prune'
func PruneUnusedImages ¶
func PruneUnusedImages(cli *client.Client, dangling bool) (report dockerTypes.ImagesPruneReport)
PruneUnusedImages removes all unsused images same as 'docker image prune'
func PruneUnusedNetworks ¶
PruneUnusedNetworks removes all unsused networks same as 'docker network prune'
func PruneUnusedVolumes ¶
PruneUnusedVolumes removes all unsused volumes same as 'docker volume prune'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.