Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,407 for Validate2 (0.27 sec)

  1. cmd/routers.go

    	httpTracerMiddleware,
    	// Auth middleware verifies incoming authorization headers and routes them
    	// accordingly. Client receives a HTTP error for invalid/unsupported
    	// signatures.
    	//
    	// Validates all incoming requests to have a valid date header.
    	setAuthMiddleware,
    	// Redirect some pre-defined browser request paths to a static location
    	// prefix.
    	setBrowserRedirectMiddleware,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go

    	if !apiequality.Semantic.DeepEqual(oldIC.Spec, newIC.Spec) {
    		newIC.Generation = oldIC.Generation + 1
    	}
    }
    
    // Validate validates a new validatingAdmissionPolicy.
    func (v *validatingAdmissionPolicyStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	errs := validation.ValidateValidatingAdmissionPolicy(obj.(*admissionregistration.ValidatingAdmissionPolicy))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. security/pkg/server/ca/node_auth.go

    	requestedIdentity, err := spiffe.ParseIdentity(requestedIdentityString)
    	if err != nil {
    		return fmt.Errorf("failed to validate impersonated identity %v", requestedIdentityString)
    	}
    
    	// Finally, we validate the requested identity is running on the same node the caller is on
    	callerPod := na.pods.Get(caller.PodName, caller.PodNamespace)
    	if callerPod == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/registry/policy/poddisruptionbudget/strategy.go

    		newPodDisruptionBudget.Generation = oldPodDisruptionBudget.Generation + 1
    	}
    
    	dropDisabledFields(&newPodDisruptionBudget.Spec, &oldPodDisruptionBudget.Spec)
    }
    
    // Validate validates a new PodDisruptionBudget.
    func (podDisruptionBudgetStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	podDisruptionBudget := obj.(*policy.PodDisruptionBudget)
    	opts := validation.PodDisruptionBudgetValidationOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:25:42 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. pkg/registry/apps/statefulset/strategy.go

    		if oldSS == nil || oldSS.Spec.Ordinals == nil {
    			// Reset Spec.Ordinals to the default value (nil).
    			newSS.Spec.Ordinals = nil
    		}
    	}
    }
    
    // Validate validates a new StatefulSet.
    func (statefulSetStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	statefulSet := obj.(*apps.StatefulSet)
    	opts := pod.GetValidationOptionsFromPodTemplate(&statefulSet.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:10 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  6. pkg/registry/apps/deployment/strategy.go

    	deployment := obj.(*apps.Deployment)
    	deployment.Status = apps.DeploymentStatus{}
    	deployment.Generation = 1
    
    	pod.DropDisabledTemplateFields(&deployment.Spec.Template, nil)
    }
    
    // Validate validates a new deployment.
    func (deploymentStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	deployment := obj.(*apps.Deployment)
    	opts := pod.GetValidationOptionsFromPodTemplate(&deployment.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Pmd.java

            configureAction.execute(reports);
            return reports;
        }
    
        /**
         * Validates the value is a valid PMD rules minimum priority (1-5)
         *
         * @param value rules minimum priority threshold
         */
        public static void validate(int value) {
            if (value > 5 || value < 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

            return networkTimeout;
        }
    
        /**
         * Indicates if this task will validate the distribution url that has been configured.
         *
         * @return whether this task will validate the distribution url
         * @since 8.2
         */
        @Incubating
        @Input
        @Option(option = "validate-url", description = "Sets task to validate the configured distribution url.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        signature_keys: Collection[str],
    ) -> None:
      """Validates the representative dataset, based on the signature keys.
    
      Representative dataset can be provided in two different forms: a single
      instance of `RepresentativeDataset` or a map of signature key to the
      corresponding `RepresentativeDataset`. These have a relationship with
      `signature_keys`.
    
      This function validates the following conditions:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    	}
    	y, err := ReadLayeredYAMLs(inFilenames)
    	if err != nil {
    		return "", "", err
    	}
    	var fileOverlayIOP *iopv1alpha1.IstioOperator
    	fileOverlayIOP, err = validate.UnmarshalIOP(y)
    	if err != nil {
    		return "", "", err
    	}
    	if err := validate.ValidIOP(fileOverlayIOP); err != nil {
    		if !force {
    			return "", "", fmt.Errorf("validation errors (use --force to override): \n%s", err)
    		}
    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