Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockRequest ¶ added in v1.8.0
func BlockRequest(er *response.EngineResponse, failurePolicy kyvernov1.FailurePolicyType) bool
BlockRequest returns true when: 1. a policy fails (i.e. creates a violation) and validationFailureAction is set to 'enforce' 2. a policy has a processing error and failurePolicy is set to 'Fail`
func IsResponseSuccessful ¶
func IsResponseSuccessful(engineReponses []*response.EngineResponse) bool
IsResponseSuccessful return true if all responses are successful
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.