mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
when removing an image from storage, we should return a struct that details what was untagged vs deleted. this replaces the simple println's used previously and assists in API development. Signed-off-by: baude <bbaude@redhat.com>
9 lines
254 B
Go
9 lines
254 B
Go
package image
|
|
|
|
// ImageDeleteResponse is the response for removing an image from storage and containers
|
|
// what was untagged vs actually removed
|
|
type ImageDeleteResponse struct {
|
|
Untagged []string `json:"untagged"`
|
|
Deleted string `json:"deleted"`
|
|
}
|