summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-29 10:44:56 +0000
committerGitHub <noreply@github.com>2022-06-29 10:44:56 +0000
commit6e910a08dbbf5f74b7aeb184669c94e4c4d08228 (patch)
tree8d390f8d4c98997e455ac7e086a3cdf2163e48cf /pkg/domain
parentd7121b000fbdda8b28343a58a4f2c0009286e633 (diff)
parent5790caaef769ff3dcf8b9ebf43fb6c61d17618bf (diff)
downloadpodman-6e910a08dbbf5f74b7aeb184669c94e4c4d08228.tar.gz
podman-6e910a08dbbf5f74b7aeb184669c94e4c4d08228.tar.bz2
podman-6e910a08dbbf5f74b7aeb184669c94e4c4d08228.zip
Merge pull request #14740 from flouthoc/bindings-remove-manifest
bindings: Add support for `Delete` for deleting manifest list from local storage.
Diffstat (limited to 'pkg/domain')
-rw-r--r--pkg/domain/entities/manifest.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/domain/entities/manifest.go b/pkg/domain/entities/manifest.go
index 81f3e837b..e88c5f854 100644
--- a/pkg/domain/entities/manifest.go
+++ b/pkg/domain/entities/manifest.go
@@ -67,6 +67,21 @@ type ManifestModifyOptions struct {
type ManifestRemoveOptions struct {
}
+// ManifestRemoveReport provides the model for the removed manifest
+//
+// swagger:model
+type ManifestRemoveReport struct {
+ // Deleted manifest list.
+ Deleted []string `json:",omitempty"`
+ // Untagged images. Can be longer than Deleted.
+ Untagged []string `json:",omitempty"`
+ // Errors associated with operation
+ Errors []string `json:",omitempty"`
+ // ExitCode describes the exit codes as described in the `podman rmi`
+ // man page.
+ ExitCode int
+}
+
// ManifestModifyReport provides the model for removed digests and changed manifest
//
// swagger:model