func (rules IngressRules) Validate() error {
	for _, rule := range rules {
		if err := rule.Validate(); err != nil {
			return err
		}
	}
	return nil
}
// Validate the list of ingress rules
Validate the list of ingress rules
// Validate the list of ingress rules
func (rules IngressRules) Validate() error {
	for _, rule := range rules {
		if err := rule.Validate(); err != nil {
			return err
		}
	}
	return nil
}
func ( rules IngressRules ) Validate ( ) error { for _ , rule := range rules { if err := rule . Validate ( ) ; err != nil { return err } } return nil }
Validate the list of ingress rules
Validate the list of ingress rules