Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckIstioOperatorSpec (0.45 sec)

  1. operator/pkg/validate/common.go

    		return nil, fmt.Errorf("%s:\n\nYAML:\n%s", err, iopYAML)
    	}
    	return iop, nil
    }
    
    // ValidIOP validates the given IstioOperator object.
    func ValidIOP(iop *v1alpha1.IstioOperator) error {
    	errs := CheckIstioOperatorSpec(iop.Spec, false)
    	return errs.ToError()
    }
    
    // compose path for slice s with index i
    func indexPathForSlice(s string, i int) string {
    	return fmt.Sprintf("%s[%d]", s, i)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. operator/pkg/manifest/shared.go

    	iop, err := istio.UnmarshalIstioOperator(iopsYAML, allowUnknownField)
    	if err != nil {
    		return nil, fmt.Errorf("could not unmarshal merged YAML: %s\n\nYAML:\n%s", err, iopsYAML)
    	}
    	if errs := validate.CheckIstioOperatorSpec(iop.Spec, true); len(errs) != 0 && !force {
    		l.LogAndError("Run the command with the --force flag if you want to ignore the validation error and proceed.")
    		return iop, fmt.Errorf(errs.Error())
    	}
    	return iop, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top