diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-20 04:37:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 04:37:19 -0400 |
commit | cb937f4aa89abc3758bcc761839d3044d194b936 (patch) | |
tree | 747dba2f210f1d2586550617452300eac04e835c /pkg/domain/infra/tunnel/manifest.go | |
parent | 8bc39f4a90a658e92305369cc2628e2a65874506 (diff) | |
parent | 2b89b241461c6baba777894f09a75df17dd05741 (diff) | |
download | podman-cb937f4aa89abc3758bcc761839d3044d194b936.tar.gz podman-cb937f4aa89abc3758bcc761839d3044d194b936.tar.bz2 podman-cb937f4aa89abc3758bcc761839d3044d194b936.zip |
Merge pull request #10235 from rhatdan/manifest
Add support for podman manifest rm command
Diffstat (limited to 'pkg/domain/infra/tunnel/manifest.go')
-rw-r--r-- | pkg/domain/infra/tunnel/manifest.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/manifest.go b/pkg/domain/infra/tunnel/manifest.go index 8ac1f1420..b8069405a 100644 --- a/pkg/domain/infra/tunnel/manifest.go +++ b/pkg/domain/infra/tunnel/manifest.go @@ -83,6 +83,11 @@ func (ir *ImageEngine) ManifestRemove(ctx context.Context, names []string) (stri return fmt.Sprintf("%s :%s\n", updatedListID, names[1]), nil } +// ManifestRm removes the specified manifest list from storage +func (ir *ImageEngine) ManifestRm(ctx context.Context, names []string) (*entities.ImageRemoveReport, []error) { + return ir.Remove(ctx, names, entities.ImageRemoveOptions{}) +} + // ManifestPush pushes a manifest list or image index to the destination func (ir *ImageEngine) ManifestPush(ctx context.Context, name, destination string, opts entities.ImagePushOptions) (string, error) { options := new(images.PushOptions) |