Documentation ¶
Index ¶
- func WithError(rule kyvernov1.Rule, ruleType engineapi.RuleType, msg string, err error) []engineapi.RuleResponse
- func WithFail(rule kyvernov1.Rule, ruleType engineapi.RuleType, msg string) []engineapi.RuleResponse
- func WithPass(rule kyvernov1.Rule, ruleType engineapi.RuleType, msg string) []engineapi.RuleResponse
- func WithResponses(rrs ...*engineapi.RuleResponse) []engineapi.RuleResponse
- func WithSkip(rule kyvernov1.Rule, ruleType engineapi.RuleType, msg string) []engineapi.RuleResponse
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithResponses ¶
func WithResponses(rrs ...*engineapi.RuleResponse) []engineapi.RuleResponse
Types ¶
type Handler ¶
type Handler interface { Process( context.Context, logr.Logger, engineapi.PolicyContext, unstructured.Unstructured, kyvernov1.Rule, engineapi.EngineContextLoader, []*kyvernov2.PolicyException, ) (unstructured.Unstructured, []engineapi.RuleResponse) }
Click to show internal directories.
Click to hide internal directories.