MCPcopy Create free account
hub / github.com/conforma/cli / policy

Struct policy

internal/policy/policy.go:86–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86type policy struct {
87 ecc.EnterpriseContractPolicySpec
88 checkOpts *cosign.CheckOpts
89 choosenTime string
90 effectiveTime *time.Time
91 attestationTime *time.Time
92 identity cosign.Identity
93 ignoreRekor bool
94 skipImageSigCheck bool
95 skipAttSigCheck bool
96}
97
98// PublicKeyPEM returns the PublicKey in PEM format. When SigVerifier is not
99// initialized, the policy's PublicKey is returned only if it is already valid

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected