From e9a17da1c5f3e20a5f4394db9f5d7e744d8fdbc6 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 6 May 2020 15:24:54 -0500 Subject: v2trust set and show add podman image trust set and show Signed-off-by: baude Signed-off-by: bbaude Signed-off-by: Brent Baude --- pkg/trust/config.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/trust/config.go (limited to 'pkg/trust') diff --git a/pkg/trust/config.go b/pkg/trust/config.go new file mode 100644 index 000000000..0bafc722b --- /dev/null +++ b/pkg/trust/config.go @@ -0,0 +1,12 @@ +package trust + +// Trust Policy describes a basic trust policy configuration +type TrustPolicy struct { + Name string `json:"name"` + RepoName string `json:"repo_name,omitempty"` + Keys []string `json:"keys,omitempty"` + SignatureStore string `json:"sigstore"` + Transport string `json:"transport"` + Type string `json:"type"` + GPGId string `json:"gpg_id,omitempty"` +} -- cgit v1.2.3-54-g00ecf