Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for analyzers (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/test/testflag.go

    			}
    			f.flags = append(f.flags, "-"+arg)
    		}
    	}
    	if len(f.flags) > 1 && single != "" {
    		return fmt.Errorf("-vet does not accept %q in a list with other analyzers", single)
    	}
    	if len(f.flags) > 1 && single != "" {
    		return fmt.Errorf("-vet does not accept %q in a list with other analyzers", single)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. istioctl/pkg/injector/injector-list.go

    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/describe"
    	"istio.io/istio/istioctl/pkg/util/ambient"
    	"istio.io/istio/pkg/config/analysis/analyzers/injection"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pilot/pkg/features/experimental.go

    		"PILOT_ENABLE_ANALYSIS",
    		false,
    		"If enabled, pilot will run istio analyzers and write analysis errors to the Status field of any "+
    			"Istio Resources",
    	).Get()
    
    	AnalysisInterval = func() time.Duration {
    		val, _ := env.Register(
    			"PILOT_ANALYSIS_INTERVAL",
    			10*time.Second,
    			"If analysis is enabled, pilot will run istio analyzers using this value as interval in seconds "+
    				"Istio Resources",
    		).Lookup()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    sharing rules.
    Specifically, it warns about attempts to pass a Go chan, map, func,
    or slice to C, either directly, or via a pointer, array, or struct.`
    
    var Analyzer = &analysis.Analyzer{
    	Name:             "cgocall",
    	Doc:              Doc,
    	URL:              "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/cgocall",
    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. tests/integration/pilot/analyze_test.go

    	t.Helper()
    
    	args := []string{"analyze"}
    	if ns != "" {
    		args = append(args, "--namespace", ns)
    	}
    	// Suppress some cluster-wide checks. This ensures we do not fail tests when running on clusters that trigger
    	// analyzers we didn't intended to test.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top