Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 346 for analyzers (0.19 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/help.go

    // style command. The optional args specify the analyzers to describe.
    // Help calls log.Fatal if no such analyzer exists.
    func Help(progname string, analyzers []*analysis.Analyzer, args []string) {
    	// No args: show summary of all analyzers.
    	if len(args) == 0 {
    		fmt.Println(strings.Replace(help, "PROGNAME", progname, -1))
    		fmt.Println("Registered analyzers:")
    		fmt.Println()
    		sort.Slice(analyzers, func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 01:33:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/testdata/script/vet_flags.txt

    env GO111MODULE=on
    
    # Issue 35837: "go vet -<analyzer> <std package>" should use the requested
    # analyzers, not the default analyzers for 'go test'.
    go vet -n -buildtags=false runtime
    stderr '-buildtags=false'
    ! stderr '-unsafeptr=false'
    
    # Issue 37030: "go vet <std package>" without other flags should disable the
    # unsafeptr check by default.
    go vet -n runtime
    stderr '-unsafeptr=false'
    ! stderr '-unreachable=false'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. pkg/config/analysis/incluster/controller.go

    ) (*Controller, error) {
    	analyzer := analyzers.AllCombined()
    	all := kuberesource.ConvertInputsToSchemas(analyzer.Metadata().Inputs)
    
    	ia := local.NewIstiodAnalyzer(analyzer, "", resource.Namespace(namespace), func(name config.GroupVersionKind) {})
    	ia.AddSource(rwConfigStore)
    
    	// Filter out configs watched by rwConfigStore so we don't watch multiple times
    	store := crdclient.NewForSchemas(kubeClient,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	// package that contains parse or type errors.
    	// The Pass.TypeErrors field may consequently be non-empty.
    	RunDespiteErrors bool
    
    	// Requires is a set of analyzers that must run successfully
    	// before this one on a given package. This analyzer may inspect
    	// the outputs produced by each analyzer in Requires.
    	// The graph over analyzers implied by Requires edges must be acyclic.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    	cluster2InputFiles []string
    	analyzer           analysis.Analyzer
    	expected           []message
    }
    
    var mcTestGrid = []mcTestCase{
    	{
    		name: "InconsistentMultiClusterService",
    		cluster1InputFiles: []string{
    			"testdata/multicluster/inconsistent-service-1.yaml",
    		},
    		cluster2InputFiles: []string{
    			"testdata/multicluster/inconsistent-service-2.yaml",
    		},
    		analyzer: &multicluster.ServiceAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top