Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Responses ¶
func NewResponses ¶
func NewResponses() *Responses
func (*Responses) HandledCount ¶
type Result ¶
type Result struct { Msg string `json:"msg,omitempty"` // Metadata includes the contents of `details` from the Rego rule signature Metadata map[string]interface{} `json:"metadata,omitempty"` // The constraint that was violated Constraint *unstructured.Unstructured `json:"constraint,omitempty"` // The violating review Review interface{} `json:"review,omitempty"` // The violating Resource, filled out by the Target Resource interface{} }
Click to show internal directories.
Click to hide internal directories.