Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,391 for Validate2 (1.44 sec)

  1. maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            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)
  2. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    }
    
    func (o *RecommendedOptions) Validate() []error {
    	errors := []error{}
    	errors = append(errors, o.Etcd.Validate()...)
    	errors = append(errors, o.SecureServing.Validate()...)
    	errors = append(errors, o.Authentication.Validate()...)
    	errors = append(errors, o.Authorization.Validate()...)
    	errors = append(errors, o.Audit.Validate()...)
    	errors = append(errors, o.Features.Validate()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractModuleDescriptorParser.java

        }
    
        @Override
        public ParseResult<T> parseMetaData(DescriptorParseContext ivySettings, File descriptorFile, boolean validate) throws MetaDataParseException {
            LocallyAvailableExternalResource resource = fileResourceRepository.resource(descriptorFile);
            return parseDescriptor(ivySettings, resource, validate);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            List<BuilderProblem> problems = validator.validate(model);
            assertEquals(0, problems.size());
    
            Repository repo = org.apache.maven.api.settings.Repository.newInstance(false);
            Settings model2 = Settings.newBuilder()
                    .profiles(List.of(prof.withRepositories(List.of(repo))))
                    .build();
            problems.clear();
            problems = validator.validate(model2);
            assertEquals(2, problems.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)
  5. staging/src/k8s.io/apiserver/pkg/admission/audit_test.go

    type fakeHandler struct {
    	// return value of Admit()
    	admit error
    	// annotations add to attributesRecord during Admit() phase
    	admitAnnotations map[string]string
    	// return value of Validate()
    	validate error
    	// annotations add to attributesRecord during Validate() phase
    	validateAnnotations map[string]string
    	// return value of Handles()
    	handles bool
    }
    
    var _ Interface = &fakeHandler{}
    var _ MutationInterface = &fakeHandler{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/common.go

    		return err
    	}
    
    	// Validate InitConfiguration and ClusterConfiguration if there are any in the config
    	if kubeadmutil.GroupVersionKindsHasInitConfiguration(gvks...) || kubeadmutil.GroupVersionKindsHasClusterConfiguration(gvks...) {
    		if _, err := documentMapToInitConfiguration(gvkmap, true, allowExperimental, true, true); err != nil {
    			return err
    		}
    	}
    
    	// Validate JoinConfiguration if there is any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. pkg/proxy/util/utils.go

    	if service.Spec.Type == v1.ServiceTypeExternalName {
    		klog.V(3).InfoS("Skipping service due to Type=ExternalName", "service", klog.KObj(service))
    		return true
    	}
    	return false
    }
    
    // AddressSet validates the addresses in the slice using the "isValid" function.
    // Addresses that pass the validation are returned as a string Set.
    func AddressSet(isValid func(ip net.IP) bool, addrs []net.Addr) sets.Set[string] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            when:
            run "wrapper", "--no-validate-url"
    
            then:
            new ZipTestFixture(file("gradle/wrapper/gradle-wrapper.jar"))
                .assertFileContent("META-INF/LICENSE", containsString("Apache License"))
        }
    
        def "generated wrapper scripts for given version from command-line"() {
            when:
            run "wrapper", "--gradle-version", "2.2.1", "--no-validate-url"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/common/equality.go

    limitations under the License.
    */
    
    package common
    
    import (
    	"reflect"
    	"time"
    )
    
    // CorrelatedObject represents a node in a tree of objects that are being
    // validated. It is used to keep track of the old value of an object during
    // traversal of the new value. It is also used to cache the results of
    // DeepEqual comparisons between the old and new values of objects.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 21:53:21 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    }
    
    // validateMinCandidateNodesAbsolute validates that minCandidateNodesAbsolute
    // is within the allowed range.
    func validateMinCandidateNodesAbsolute(minCandidateNodesAbsolute int32, p *field.Path) *field.Error {
    	if minCandidateNodesAbsolute < 0 {
    		return field.Invalid(p, minCandidateNodesAbsolute, "not in valid range [0, inf)")
    	}
    	return nil
    }
    
    // ValidateInterPodAffinityArgs validates that InterPodAffinityArgs are correct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top