diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-01 16:10:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 16:10:10 +0200 |
commit | 82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc (patch) | |
tree | b819be57459895e73ebcd0ae8a1b204df7ba4849 /pkg/domain/entities | |
parent | 394f1c26d61cc8570b49444e1f431978bf101daa (diff) | |
parent | 26644d7cb85d5935bb59c7891ac9a81d6092673c (diff) | |
download | podman-82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc.tar.gz podman-82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc.tar.bz2 podman-82cbebcbea7f92be7e82bc11fdf1b30d7e194cdc.zip |
Merge pull request #5656 from baude/v2imagetag
podman v2 image tag and untag
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/engine_image.go | 2 | ||||
-rw-r--r-- | pkg/domain/entities/images.go | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/pkg/domain/entities/engine_image.go b/pkg/domain/entities/engine_image.go index cdb8d7f0d..6547cbfaf 100644 --- a/pkg/domain/entities/engine_image.go +++ b/pkg/domain/entities/engine_image.go @@ -11,4 +11,6 @@ type ImageEngine interface { List(ctx context.Context, opts ImageListOptions) ([]*ImageSummary, error) Prune(ctx context.Context, opts ImagePruneOptions) (*ImagePruneReport, error) Pull(ctx context.Context, rawImage string, opts ImagePullOptions) (*ImagePullReport, error) + Tag(ctx context.Context, nameOrId string, tags []string, options ImageTagOptions) error + Untag(ctx context.Context, nameOrId string, tags []string, options ImageUntagOptions) error } diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 8e3f49be3..41579398b 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -171,3 +171,6 @@ type ImagePruneReport struct { Report Report Size int64 } + +type ImageTagOptions struct{} +type ImageUntagOptions struct{} |