diff options
author | Qi Wang <qiwan@redhat.com> | 2020-09-13 15:40:41 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-09-15 16:09:33 -0400 |
commit | 2fcd1d7b4dca2619277607da7c8d22e9ec7620a2 (patch) | |
tree | 27f44268555f587c724f9674c5ec742dbf31b089 /pkg/domain/entities | |
parent | 0be5836e49da38b156951639b7e19eaec6a6e593 (diff) | |
download | podman-2fcd1d7b4dca2619277607da7c8d22e9ec7620a2.tar.gz podman-2fcd1d7b4dca2619277607da7c8d22e9ec7620a2.tar.bz2 podman-2fcd1d7b4dca2619277607da7c8d22e9ec7620a2.zip |
Supports import&run--signature-policy
Enables podman create, pull, run, import to use --signature-policy option. Set it as hidden flag to be consistent with other commands.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/images.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 2a8133680..3a2e762d6 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -259,12 +259,13 @@ type ImageLoadReport struct { } type ImageImportOptions struct { - Changes []string - Message string - Quiet bool - Reference string - Source string - SourceIsURL bool + Changes []string + Message string + Quiet bool + Reference string + SignaturePolicy string + Source string + SourceIsURL bool } type ImageImportReport struct { |