- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 468 for analyzers (0.15 sec)
-
pkg/config/analysis/analyzer.go
func (c *InternalCombinedAnalyzer) AnalyzerNames() []string { result := make([]string, 0, len(c.analyzers)) for _, a := range c.analyzers { result = append(result, a.Metadata().Name) } return result } func combineInputs(analyzers []Analyzer) []config.GroupVersionKind { result := sets.NewWithLength[config.GroupVersionKind](len(analyzers)) for _, a := range analyzers {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:13 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/all.go
"istio.io/istio/pkg/config/analysis/analyzers/sidecar" "istio.io/istio/pkg/config/analysis/analyzers/telemetry" "istio.io/istio/pkg/config/analysis/analyzers/virtualservice" "istio.io/istio/pkg/config/analysis/analyzers/webhook" ) // All returns all analyzers func All() []analysis.Analyzer { analyzers := []analysis.Analyzer{ // Please keep this list sorted alphabetically by pkg.name for convenience
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/test/internal/genflags/vetflag.go
} return match[1] } // extract deprecated aliases for existing analyses for _, flag := range analysisFlags { if o := originalValue(flag.Usage); analyzerSet[o] { analyzerSet[flag.Name] = true } } var analyzers []string for a := range analyzerSet { analyzers = append(analyzers, a) } sort.Strings(analyzers) return analyzers, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 17:49:12 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
}) return act } execAll = func(analyzers []*analysis.Analyzer) { var wg sync.WaitGroup for _, a := range analyzers { wg.Add(1) go func(a *analysis.Analyzer) { _ = exec(a) wg.Done() }(a) } wg.Wait() } execAll(analyzers) // Return diagnostics and errors from root analyzers. results := make([]result, len(analyzers)) for i, a := range analyzers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
To add a new Analyzer to an existing driver, add another item to the list: import ( "unusedresult"; "nilness"; "printf" ) var analyses = []*analysis.Analyzer{ unusedresult.Analyzer, nilness.Analyzer, printf.Analyzer, } A driver may use the name, flags, and documentation to provide on-line help that describes the analyses it performs. The doc comment contains a brief one-line summary,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/config/analysis/README.md
# Analyzers The purpose of analyzers is to examine Istio configuration for potential problems that should be surfaced back to the user. An analyzer takes as input a Context object that contains methods to inspect the configuration snapshot being analyzed, as well as methods for reporting any issues discovered. ## Writing Analyzers ### 1. Create the code
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 9.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
fileExtensions = []string{".json", ".yaml", ".yml"} ) // Analyze command func Analyze(ctx cli.Context) *cobra.Command { var verbose bool analysisCmd := &cobra.Command{ Use: "analyze <file>...", Short: "Analyze Istio configuration and print validation messages", Example: ` # Analyze the current live cluster istioctl analyze # Analyze the current live cluster for a specific revision
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
// in case we encounter them in imported files. kept := expand(analyzers) for a := range everything { if !kept[a] { for _, f := range a.FactTypes { gob.Register(f) } } } return analyzers } func expand(analyzers []*analysis.Analyzer) map[*analysis.Analyzer]bool { seen := make(map[*analysis.Analyzer]bool) var visitAll func([]*analysis.Analyzer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go
factTypes := make(map[reflect.Type]*Analyzer) // Traverse the Requires graph, depth first. const ( white = iota grey black finished ) color := make(map[*Analyzer]uint8) var visit func(a *Analyzer) error visit = func(a *Analyzer) error { if a == nil { return fmt.Errorf("nil *Analyzer") } if color[a] == white { color[a] = grey // names
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:52:54 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
schemaValidation "istio.io/istio/pkg/config/analysis/analyzers/schema" "istio.io/istio/pkg/config/analysis/analyzers/service" "istio.io/istio/pkg/config/analysis/analyzers/serviceentry" "istio.io/istio/pkg/config/analysis/analyzers/sidecar" "istio.io/istio/pkg/config/analysis/analyzers/telemetry" "istio.io/istio/pkg/config/analysis/analyzers/virtualservice" "istio.io/istio/pkg/config/analysis/analyzers/webhook"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0)