Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for IstioOperatorSpec (0.22 sec)

  1. architecture/environments/operator.md

    1. [IstioOperatorSpec API](#istiooperatorspec-api) and related infrastructure, which is expressed as a
    [proto](https://github.com/istio/api/blob/master/operator/v1alpha1/operator.proto) and
    compiled to [Go
    structs](https://github.com/istio/api/blob/master/operator/v1alpha1/operator.pb.go).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. operator/pkg/apis/istio/common.go

    // 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) {
    	iops := &v1alpha1.IstioOperatorSpec{}
    	if err := util.UnmarshalWithJSONPB(iopsYAML, iops, false); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 23 17:19:38 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. operator/pkg/controlplane/control_plane_test.go

    			}
    		})
    	}
    }
    
    func TestNewIstioOperator(t *testing.T) {
    	coreComponentOptions := &component.Options{
    		InstallSpec: &v1alpha1.IstioOperatorSpec{},
    		Translator:  &translate.Translator{},
    	}
    	tests := []struct {
    		desc              string
    		inInstallSpec     *v1alpha1.IstioOperatorSpec
    		inTranslator      *translate.Translator
    		wantIstioOperator *IstioControlPlane
    		wantErr           error
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 02:36:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. pkg/url/url.go

    	ReferenceURL = fmt.Sprintf("%s%s", DocsURL, "reference/")
    
    	// IstioOperatorSpec should generate
    	// https://istio.io/v1.7/docs/reference/config/istio.operator.v1alpha1/#IstioOperatorSpec
    	IstioOperatorSpec = fmt.Sprintf("%s%s", ReferenceURL, "config/istio.operator.v1alpha1/#IstioOperatorSpec")
    
    	// ConfigAnalysis should generate
    	// https://istio.io/v1.7/docs/reference/config/analysis
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/url/url_test.go

    	assert.Equal(t, ReferenceURL, "https://istio.io/"+DocsVersion+"/docs/reference/", "reference url should be equal")
    	assert.Equal(t, IstioOperatorSpec,
    		"https://istio.io/"+DocsVersion+"/docs/reference/config/istio.operator.v1alpha1/#IstioOperatorSpec",
    		"IstioOperatorSpec url should be equal")
    	assert.Equal(t, ConfigAnalysis,
    		"https://istio.io/"+DocsVersion+"/docs/reference/config/analysis",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tests/fuzz/misc_fuzzers.go

    	f := fuzz.NewConsumer(data)
    
    	ispec := &v1alpha1.IstioOperatorSpec{}
    	err := f.GenerateStruct(ispec)
    	if err != nil {
    		return 0
    	}
    	_ = validate.CheckIstioOperatorSpec(ispec, false)
    	_ = validate.CheckIstioOperatorSpec(ispec, true)
    	return 1
    }
    
    func FuzzV1Alpha1ValidateConfig(data []byte) int {
    	f := fuzz.NewConsumer(data)
    
    	iop := &v1alpha1.IstioOperatorSpec{}
    	err := f.GenerateStruct(iop)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/types.go

    )
    
    //
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // IstioOperatorSpec defines the desired installed state of Istio components.
    // The spec is a used to define a customization of the default profile values that are supplied with each Istio release.
    // Because the spec is a customization API, specifying an empty IstioOperatorSpec results in a default Istio
    // component values.
    //
    //	apiVersion: install.istio.io/v1alpha1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 15 10:49:08 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. operator/pkg/translate/translate_test.go

    			expectSkip: true,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			var iop *v1alpha1.IstioOperatorSpec
    			if tt.values != "" {
    				iop = &v1alpha1.IstioOperatorSpec{}
    				if err := util.UnmarshalWithJSONPB(tt.values, iop, true); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			got := skipReplicaCountWithAutoscaleEnabled(iop, tt.component)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. operator/pkg/apis/istio/v1alpha1/common.go

    	"istio.io/api/operator/v1alpha1"
    )
    
    const (
    	globalKey         = "global"
    	istioNamespaceKey = "istioNamespace"
    )
    
    // Namespace returns the namespace of the containing CR.
    func Namespace(iops *v1alpha1.IstioOperatorSpec) string {
    	if iops.Namespace != "" {
    		return iops.Namespace
    	}
    	if iops.Values == nil {
    		return ""
    	}
    	v := iops.Values.AsMap()
    	if v[globalKey] == nil {
    		return ""
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    	}
    	return errs, messages
    }
    
    type FeatureValidator func(*valuesv1alpha1.Values, *v1alpha1.IstioOperatorSpec) (util.Errors, []string)
    
    // validateFeatures check whether the config semantically make sense. For example, feature X and feature Y can't be enabled together.
    func validateFeatures(values *valuesv1alpha1.Values, spec *v1alpha1.IstioOperatorSpec) (errs util.Errors, warnings []string) {
    	validators := []FeatureValidator{
    		CheckServicePorts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top