import "istio.io/istio/operator/pkg/apis/istio"
func UnmarshalAndValidateIOPS(iopsYAML string) (*v1alpha1.IstioOperatorSpec, error)
UnmarshalAndValidateIOPS unmarshals a string containing IstioOperator YAML, validates it, and returns a struct representation if successful. In case of validation errors, it returns both the IstioOperatorSpec struct and an error, so the caller can decide how to handle it.
func UnmarshalIstioOperator(iopYAML string, allowUnknownField bool) (*operator_v1alpha1.IstioOperator, error)
UnmarshalIstioOperator unmarshals a string containing IstioOperator YAML.
Path | Synopsis |
---|---|
fixup_structs | |
v1alpha1 | Package v1alpha1 contains API Schema definitions for the istio v1alpha1 API group |
v1alpha1/validation |
Package istio imports 5 packages (graph) and is imported by 6 packages. Updated 2021-01-16. Refresh now. Tools for package owners.