Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for InvalidAnnotation (0.34 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

            failure.assertHasCause(invalidUseOfCacheableAnnotation {
                type('MakeGreen.Parameters').invalidAnnotation('CacheableTask').onlyMakesSenseOn('Task').includeLink()
            })
            failure.assertHasCause(invalidUseOfCacheableAnnotation {
                type('MakeGreen.Parameters').invalidAnnotation('CacheableTransform').onlyMakesSenseOn('TransformAction').includeLink()
            })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  2. pkg/config/analysis/msg/messages.gen.go

    	// InvalidAnnotation defines a diag.MessageType for message "InvalidAnnotation".
    	// Description: An Istio annotation that is not valid
    	InvalidAnnotation = diag.NewMessageType(diag.Warning, "IST0125", "Invalid annotation %s: %s")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            assertValidationFailsWith([
                error(invalidUseOfCacheableAnnotationConfig { type('MyTask').invalidAnnotation('CacheableTransform').onlyMakesSenseOn('TransformAction') }, "validation_problems", "invalid_use_of_cacheable_annotation"),
                error(invalidUseOfCacheableAnnotationConfig { type('MyTask.Options').invalidAnnotation('CacheableTask').onlyMakesSenseOn('Task') }, "validation_problems", "invalid_use_of_cacheable_annotation"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            String invalidAnnotation
            List<String> correctTypes
    
            InvalidUseOfCacheable(ValidationMessageChecker checker) {
                super(checker)
            }
    
            InvalidUseOfCacheable invalidAnnotation(String type) {
                this.invalidAnnotation = type
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    """
        }
    
        def "tests output of invalidUseOfCacheableAnnotation"() {
            when:
            render invalidUseOfCacheableAnnotation {
                type('SomeTransform')
                invalidAnnotation('CacheableTask')
                onlyMakesSenseOn('Task')
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'SomeTransform' is incorrectly annotated with @CacheableTask.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/msg/messages.yaml

        args:
          - name: labels
            type: "[]string"
    
      - name: "InvalidAnnotation"
        code: IST0125
        level: Warning
        description: "An Istio annotation that is not valid"
        template: "Invalid annotation %s: %s"
        args:
          - name: annotation
            type: string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/analyzers_test.go

    	{
    		name: "misannoted",
    		inputFiles: []string{
    			"testdata/misannotated.yaml",
    		},
    		analyzer: &annotations.K8sAnalyzer{},
    		expected: []message{
    			{msg.UnknownAnnotation, "Service httpbin"},
    			{msg.InvalidAnnotation, "Pod invalid-annotations"},
    			{msg.MisplacedAnnotation, "Pod grafana-test"},
    			{msg.MisplacedAnnotation, "Deployment fortio-deploy"},
    			{msg.MisplacedAnnotation, "Namespace staging"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top