Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 634 for validate0 (0.35 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

    import java.util.stream.Stream;
    
    import static com.google.common.collect.ImmutableList.toImmutableList;
    import static java.util.stream.Collectors.joining;
    import static org.gradle.api.problems.Severity.ERROR;
    
    /**
     * Validates plugins by checking property annotations on work items like tasks and artifact transforms.
     *
     * This task should be used in Gradle plugin projects for doing static analysis on the plugin classes.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. internal/config/storageclass/storage-class.go

    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    }
    
    // Validates the parity drives.
    func validateParity(ssParity, rrsParity, setDriveCount int) (err error) {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. cmd/iam.go

    		entityKeysInStorage.Add(k)
    		return true
    	})
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crdclient/client_test.go

    		}
    		if l[0].Name != configMeta1.Name {
    			return fmt.Errorf("expected `name1` returned")
    		}
    		return nil
    	}, retry.Timeout(time.Second*10), retry.Converge(5))
    }
    
    // CheckIstioConfigTypes validates that an empty store can do CRUD operators on all given types
    func TestClient(t *testing.T) {
    	store, _ := makeClient(t, collections.PilotGatewayAPI().Union(collections.Kube), nil)
    	configName := "test"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pilot/pkg/model/validation.go

    		}
    	}
    	return errs
    }
    
    // Validate ensures that the service instance is well-defined
    func (instance *ServiceInstance) Validate() error {
    	var errs error
    	if instance.Service == nil {
    		errs = multierror.Append(errs, fmt.Errorf("missing service in the instance"))
    	} else if err := instance.Service.Validate(); err != nil {
    		errs = multierror.Append(errs, err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/config/kube/gateway/conversion_test.go

    	builtinClasses = getBuiltinClasses()
    }
    
    func TestConvertResources(t *testing.T) {
    	validator := crdvalidation.NewIstioValidator(t)
    	cases := []struct {
    		name string
    		// Some configs are intended to be generated with invalid configs, and since they will be validated
    		// by the validator, we need to ignore the validation errors to prevent the test from failing.
    		validationIgnorer *crdvalidation.ValidationIgnorer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
Back to top