Documentation ¶
Index ¶
- type EqualHandler
- type NotEqualHandler
- type OperatorHandler
- func CreateOperatorHandler(ctx context.EvalInterface, op kyverno.ConditionOperator, ...) OperatorHandler
- func NewEqualHandler(ctx context.EvalInterface, subHandler VariableSubstitutionHandler) OperatorHandler
- func NewNotEqualHandler(ctx context.EvalInterface, subHandler VariableSubstitutionHandler) OperatorHandler
- type VariableSubstitutionHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EqualHandler ¶
type EqualHandler struct {
// contains filtered or unexported fields
}
func (EqualHandler) Evaluate ¶
func (eh EqualHandler) Evaluate(key, value interface{}) bool
type NotEqualHandler ¶
type NotEqualHandler struct {
// contains filtered or unexported fields
}
func (NotEqualHandler) Evaluate ¶
func (neh NotEqualHandler) Evaluate(key, value interface{}) bool
type OperatorHandler ¶
type OperatorHandler interface { Evaluate(key, value interface{}) bool // contains filtered or unexported methods }
func CreateOperatorHandler ¶
func CreateOperatorHandler(ctx context.EvalInterface, op kyverno.ConditionOperator, subHandler VariableSubstitutionHandler) OperatorHandler
func NewEqualHandler ¶
func NewEqualHandler(ctx context.EvalInterface, subHandler VariableSubstitutionHandler) OperatorHandler
func NewNotEqualHandler ¶
func NewNotEqualHandler(ctx context.EvalInterface, subHandler VariableSubstitutionHandler) OperatorHandler
type VariableSubstitutionHandler ¶
type VariableSubstitutionHandler = func(ctx context.EvalInterface, pattern interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.