Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PolicyResponse ¶
type PolicyResponse struct { Policy *v1alpha1.ValidatingPolicy Rules []RuleResponse }
type PolicyResult ¶
type PolicyResult string
PolicyResult specifies state of a policy result
const ( StatusPass PolicyResult = "pass" StatusFail PolicyResult = "fail" // StatusWarn PolicyResult = "warn" StatusError PolicyResult = "error" )
type Request ¶
type Request struct { Resource any Policies []*v1alpha1.ValidatingPolicy }
type Response ¶
type Response struct { Resource any Policies []PolicyResponse }
type RuleResponse ¶
Click to show internal directories.
Click to hide internal directories.