Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,793 for validate0 (0.23 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	var errs field.ErrorList
    	errs = append(errs, a.validator.Validate(ctx, u, a.scale)...)
    
    	// validate embedded resources
    	errs = append(errs, schemaobjectmeta.Validate(nil, u.Object, a.structuralSchema, false)...)
    
    	// validate x-kubernetes-list-type "map" and "set" invariant
    	errs = append(errs, structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, u.Object)...)
    
    	// validate x-kubernetes-validations rules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts

    import org.gradle.api.internal.plugins.PluginRegistry
    import org.gradle.api.internal.project.ProjectInternal
    import java.net.URISyntaxException
    import java.net.URL
    import java.util.stream.Collectors
    
    /**
     * Validates external plugins applied to a build, by checking property annotations
     * on work items like tasks and artifact transforms.
     * This is similar to [ValidatePlugins] but instead of checking the plugins *written in* the current build,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/discovery/token/token.go

    	klog.V(1).Infof("[discovery] Requesting info from %q again to validate TLS against the pinned public key", endpoint)
    	secureClusterInfo, err := getClusterInfo(client, secureBootstrapConfig, token, interval, timeout)
    	if err != nil {
    		return nil, err
    	}
    
    	// Pull the kubeconfig from the securely-obtained ConfigMap and validate that it's the same as what we found the first time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/InvalidatableSet.java

        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/apis/apps/validation/validation.go

    func ValidateStatefulSetName(name string, prefix bool) []string {
    	// TODO: Validate that there's room for the suffix inserted by the pods.
    	// Currently this is just "-index". In the future we may allow a user
    	// specified list of suffixes and we need  to validate the longest one.
    	return apimachineryvalidation.NameIsDNSLabel(name, prefix)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(0, problems.messages.size());
    
            Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
            prof.addRepository(repo);
            problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(2, problems.messages.size());
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    //      format.uri().validate("http://example.com")
    //          Uses same pattern as isURL, but returns an error
    //      format.uuid().validate("123e4567-e89b-12d3-a456-426614174000")
    //      format.byte().validate("aGVsbG8=")
    //      format.date().validate("2021-01-01")
    //      format.datetime().validate("2021-01-01T00:00:00Z")
    //
    
    // <Format>.validate(str: string) -> ?list<string>
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. pkg/config/schema/ast/ast.go

    	for i, r := range m.Resources {
    		if r.Validate == "" {
    			validateFn := "Validate" + asResourceVariableName(r.Kind)
    			if !validation.IsValidateFunc(validateFn) {
    				validateFn = "validation.EmptyValidate"
    			} else {
    				if r.Kind == "EnvoyFilter" {
    					validateFn = "envoyfilter." + validateFn
    				} else {
    					validateFn = "validation." + validateFn
    				}
    			}
    			m.Resources[i].Validate = validateFn
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certs.go

    }
    
    // validateCACert tries to load a x509 certificate from pkiDir and validates that it is a CA
    func validateCACert(l certKeyLocation) error {
    	// Check CA Cert
    	caCert, err := pkiutil.TryLoadCertFromDisk(l.pkiDir, l.caBaseName)
    	if err != nil {
    		return errors.Wrapf(err, "failure loading certificate for %s", l.uxName)
    	}
    	// Validate period
    	CheckCertificatePeriodValidity(l.uxName, caCert)
    
    	// Check if cert is a CA
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go

    type Validator interface {
    	// Validate is used to take cel evaluations and convert into decisions
    	// runtimeCELCostBudget was added for testing purpose only. Callers should always use const RuntimeCELCostBudget from k8s.io/apiserver/pkg/apis/cel/config.go as input.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 17:47:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top