Documentation ¶
Index ¶
Constants ¶
View Source
const (
DateLayout = "2006-01-02"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyWrapper ¶
type PolicyWrapper struct { PolicyType types.PolicyType `json:"PolicyType"` Policies []Policy `json:"Policies"` }
func (PolicyWrapper) Evaluate ¶
func (n PolicyWrapper) Evaluate(_ match.Matches, _ string, imageReference string, certsPEM string) (bool, types.PolicyEvaluationResult)
func (PolicyWrapper) GetPolicyType ¶
func (n PolicyWrapper) GetPolicyType() types.PolicyType
Click to show internal directories.
Click to hide internal directories.