Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIRuleValidator ¶
func NewAPIRuleValidator(apiRule *gatewayv2alpha1.APIRule) validation.ApiRuleValidator
Types ¶
type APIRuleValidator ¶
type APIRuleValidator struct {
ApiRule *gatewayv2alpha1.APIRule
}
func (*APIRuleValidator) Validate ¶
func (a *APIRuleValidator) Validate(ctx context.Context, client client.Client, vsList networkingv1beta1.VirtualServiceList, gwList networkingv1beta1.GatewayList) []validation.Failure
Click to show internal directories.
Click to hide internal directories.