summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-07-28 23:38:37 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-08-02 16:52:56 +0200
commit49d40293b449bb5a2c1fec202f7f0073a8ea6e0b (patch)
tree5b31fc3cd8feac23b10f1e5e74cd94edc8c9aafd
parenteacee60c83685c9e6796b96b22f51625f8012530 (diff)
downloadpodman-49d40293b449bb5a2c1fec202f7f0073a8ea6e0b.tar.gz
podman-49d40293b449bb5a2c1fec202f7f0073a8ea6e0b.tar.bz2
podman-49d40293b449bb5a2c1fec202f7f0073a8ea6e0b.zip
Remove libpod/common
AFAICS it is not used anywhere. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r--libpod/common/common.go16
-rw-r--r--libpod/common/signing_options.go10
2 files changed, 0 insertions, 26 deletions
diff --git a/libpod/common/common.go b/libpod/common/common.go
deleted file mode 100644
index 34cabeadc..000000000
--- a/libpod/common/common.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package common
-
-// IsTrue determines whether the given string equals "true".
-func IsTrue(str string) bool {
- return str == "true"
-}
-
-// IsFalse determines whether the given string equals "false".
-func IsFalse(str string) bool {
- return str == "false"
-}
-
-// IsValidBool determines whether the given string equals "true" or "false".
-func IsValidBool(str string) bool {
- return IsTrue(str) || IsFalse(str)
-}
diff --git a/libpod/common/signing_options.go b/libpod/common/signing_options.go
deleted file mode 100644
index b7e14be82..000000000
--- a/libpod/common/signing_options.go
+++ /dev/null
@@ -1,10 +0,0 @@
-package common
-
-// 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
-}