summaryrefslogtreecommitdiff
path: root/pkg/trust/config.go
blob: 6186d4cbd19ecd8168918b6add09ab680414f2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package trust

// Policy describes a basic trust policy configuration
type Policy struct {
	Transport      string   `json:"transport"`
	Name           string   `json:"name,omitempty"`
	RepoName       string   `json:"repo_name,omitempty"`
	Keys           []string `json:"keys,omitempty"`
	SignatureStore string   `json:"sigstore,omitempty"`
	Type           string   `json:"type"`
	GPGId          string   `json:"gpg_id,omitempty"`
}