Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validateNode (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultNodeValidator.java

            WorkValidationContext validationContext = validateNode(node);
            List<? extends Problem> problems = validationContext.getProblems();
            logWarnings(problems);
            reportErrors(problems, node.getTask(), validationContext);
            return !problems.isEmpty();
        }
    
        private WorkValidationContext validateNode(LocalTaskNode node) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pkg/registry/core/node/strategy.go

    		return true
    	}
    	return false
    }
    
    // Validate validates a new node.
    func (nodeStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	node := obj.(*api.Node)
    	return validation.ValidateNode(node)
    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (nodeStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return fieldIsDeprecatedWarnings(obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/GradleBuildModelCrossVersionSpec.groovy

            when:
            GradleBuild model = withConnection { connection -> connection.getModel(GradleBuild) }
    
            then:
            validateModel(model)
            model.projects*.projectDirectory == [projectDir, file('a'), file('b'), file('b/c')]
        }
    
        def validateModel(GradleBuild model) {
            assert model.rootProject.name == 'test'
            assert model.rootProject.path == ':'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pkg/registry/rbac/role/strategy.go

    }
    
    // Validate validates a new Role. Validation must check for a correct signature.
    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	role := obj.(*rbac.Role)
    	return validation.ValidateRole(role)
    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top