spiegel_podman/pkg/trust
Miloslav Trmač a304b8d287 Add a unit test for trust.PolicyDescription
Add at least a basic unit test for the various entry types.

So that we don't have to actually deal with GPG keys and /usr/bin/gpg*,
parametrize the code with a gpgIDReader , and pass a fake one
in the unit test.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-08-29 17:55:38 +02:00
..
testdata Add a unit test for trust.PolicyDescription 2022-08-29 17:55:38 +02:00
policy.go Add a unit test for trust.PolicyDescription 2022-08-29 17:55:38 +02:00
policy_test.go Add support for sigstoreSigned in (podman image trust set) 2022-08-29 17:55:38 +02:00
registries.go Make most of pkg/trust package-private 2022-08-29 17:55:38 +02:00
trust.go Add a unit test for trust.PolicyDescription 2022-08-29 17:55:38 +02:00
trust_test.go Add a unit test for trust.PolicyDescription 2022-08-29 17:55:38 +02:00