Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SchemaValidationError (0.34 sec)

  1. pkg/config/analysis/analyzers/schema/validation_test.go

    			},
    		}
    		a.Analyze(ctx)
    		g.Expect(ctx.Reports).To(HaveLen(2))
    		g.Expect(ctx.Reports[0].Type).To(Equal(msg.SchemaValidationError))
    		g.Expect(ctx.Reports[1].Type).To(Equal(msg.SchemaValidationError))
    	})
    }
    
    func BenchmarkMetadata(b *testing.B) {
    	a := ValidationAnalyzer{
    		s: schemaWithValidateFn(validation.EmptyValidate),
    	}
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		a.Metadata()
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tests/integration/pilot/analyze_test.go

    			// testdata/some-dir/missing-gateway.yaml and get a
    			// SchemaValidationError (if we did recurse, we'd get a
    			// UnknownAnnotation as well).
    			output, err := istioctlSafe(t, istioCtl, ns.Name(), false, "--recursive=false", dirWithConfig)
    			expectMessages(t, g, output, msg.SchemaValidationError)
    			g.Expect(err).To(BeIdenticalTo(analyzerFoundIssuesError))
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. pkg/config/analysis/msg/messages.gen.go

    	// SchemaValidationError defines a diag.MessageType for message "SchemaValidationError".
    	// Description: The resource has a schema validation error.
    	SchemaValidationError = diag.NewMessageType(diag.Error, "IST0106", "Schema validation error: %v")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. pkg/config/analysis/README.md

                // If the path template does not exist, you can add the template in util/find_errorline_utils.go for future use.
                // If this exact line feature is not applied, or the message does not have a specific field like SchemaValidationError,
                // then the starting line number of the resource will be displayed instead.
                if line, ok := util.ErrorLine(r, fmt.Sprintf(util.VSGateway, i)); ok {
                    msg.Line = line
                }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. pkg/config/analysis/msg/messages.yaml

        args:
          - name: podName
            type: string
    
      # IST0104 RETIRED
      # IST0105 RETIRED
    
      - name: "SchemaValidationError"
        code: IST0106
        level: Error
        description: "The resource has a schema validation error."
        template: "Schema validation error: %v"
        args:
          - name: err
            type: error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top