Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SchemaValidationError (0.15 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. 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)
Back to top