mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
19 lines
433 B
Go
19 lines
433 B
Go
package client
|
|
|
|
import (
|
|
"github.com/moby/moby/api/types/image"
|
|
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
|
)
|
|
|
|
// ImageRemoveOptions holds parameters to remove images.
|
|
type ImageRemoveOptions struct {
|
|
Platforms []ocispec.Platform
|
|
Force bool
|
|
PruneChildren bool
|
|
}
|
|
|
|
// ImageRemoveResult holds the delete responses returned by the daemon.
|
|
type ImageRemoveResult struct {
|
|
Deleted []image.DeleteResponse
|
|
}
|