Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,793 for validateU (0.14 sec)

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

    	"istio.io/api/operator/v1alpha1"
    	operator_v1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/util"
    	"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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 23 17:19:38 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/and.go

    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && !a.Prefix.set &&
    		a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	// > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates.
    	// ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    	var trw transitionWrapper
    	err := d.DecodeElement(&trw, &startElement)
    	if err != nil {
    		return err
    	}
    	*t = Transition(trw)
    	t.set = true
    	return nil
    }
    
    // Validate - validates the "Transition" element
    func (t Transition) Validate() error {
    	if !t.set {
    		return nil
    	}
    
    	if !t.IsDateNull() && t.Days > 0 {
    		return errTransitionInvalid
    	}
    
    	if t.StorageClass == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning.go

    	// Requires versioning to be enabled
    	ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
    	ExcludeFolders   bool             `xml:",omitempty"`
    }
    
    // Validate - validates the versioning configuration
    func (v Versioning) Validate() error {
    	// Not supported yet
    	// switch v.MFADelete {
    	// case Enabled, Disabled:
    	// default:
    	// 	return Errorf("unsupported MFADelete state %s", v.MFADelete)
    	// }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    // the explored nodes of the object tree.
    func (r *ratchetingValueValidator) Validate(new interface{}) *validate.Result {
    	opts := append([]validate.Option{
    		r.getValidateOption(),
    	}, r.options...)
    
    	s := validate.NewSchemaValidator(r.schema, r.root, r.path, r.knownFormats, opts...)
    
    	res := s.Validate(r.correlation.Value)
    
    	if res.IsValid() {
    		return res
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractionContext.java

        }
    
        @Override
        public void found(ModelSchema<T> result) {
            this.result = result;
        }
    
        public void validate(ModelSchema<T> schema) {
            if (validator != null) {
                validator.execute(schema);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/externalcontrolplane-missing-urls.yaml

    kind: ValidatingWebhookConfiguration
    metadata:
      name: istio-validator-external-istiod
    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        url: 
      name: rev.validation.istio.io
    
    ---
    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 11:41:38 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. cmd/bucket-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. pkg/registry/networking/ingress/strategy.go

    	if !apiequality.Semantic.DeepEqual(oldIngress.Spec, newIngress.Spec) {
    		newIngress.Generation = oldIngress.Generation + 1
    	}
    
    }
    
    // Validate validates ingresses on create.
    func (ingressStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	ingress := obj.(*networking.Ingress)
    	return validation.ValidateIngressCreate(ingress)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 01:42:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. pkg/registry/scheduling/priorityclass/strategy.go

    // PrepareForUpdate clears fields that are not allowed to be set by end users on update.
    func (priorityClassStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}
    
    // Validate validates a new PriorityClass.
    func (priorityClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	pc := obj.(*scheduling.PriorityClass)
    	return validation.ValidatePriorityClass(pc)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top