Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnmarshalAndValidateIOPS (0.17 sec)

  1. operator/pkg/apis/istio/common.go

    	"istio.io/istio/operator/pkg/validate"
    )
    
    // 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 UnmarshalAndValidateIOPS(iopsYAML string) (*v1alpha1.IstioOperatorSpec, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 23 17:19:38 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. tests/fuzz/misc_fuzzers.go

    	err := f.GenerateStruct(iopSpec)
    	if err != nil {
    		return 0
    	}
    	_, _ = translate.GetEnabledComponents(iopSpec)
    	return 1
    }
    
    func FuzzUnmarshalAndValidateIOPS(data []byte) int {
    	_, _ = istio.UnmarshalAndValidateIOPS(string(data))
    	return 1
    }
    
    func FuzzRenderManifests(data []byte) int {
    	f := fuzz.NewConsumer(data)
    	f.AllowUnexportedFields()
    
    	cp := &controlplane.IstioControlPlane{}
    	err := f.GenerateStruct(cp)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    		return nil, err
    	}
    
    	mergedYAMLSpec, err := tpath.GetSpecSubtree(mergedYAML)
    	if err != nil {
    		metrics.CountCRMergeFail(metrics.InternalYAMLParseError)
    		return nil, err
    	}
    
    	return istio.UnmarshalAndValidateIOPS(mergedYAMLSpec)
    }
    
    // Add creates a new IstioOperator Controller and adds it to the Manager. The Manager will set fields on the Controller
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top