diff options
Diffstat (limited to 'libpod/image/signing_options.go')
-rw-r--r-- | libpod/image/signing_options.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libpod/image/signing_options.go b/libpod/image/signing_options.go new file mode 100644 index 000000000..f310da749 --- /dev/null +++ b/libpod/image/signing_options.go @@ -0,0 +1,10 @@ +package image + +// SigningOptions encapsulates settings that control whether or not we strip or +// add signatures to images when writing them. +type SigningOptions struct { + // RemoveSignatures directs us to remove any signatures which are already present. + RemoveSignatures bool + // SignBy is a key identifier of some kind, indicating that a signature should be generated using the specified private key and stored with the image. + SignBy string +} |