Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for analyzers (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/config/analysis/analyzers/maturity/maturity.go

    	// Ref: https://github.com/istio/api/pull/2695
    	constants.AmbientWaypointForTrafficTypeLabel: true,
    	constants.AmbientRedirection:                 true,
    }
    
    // Analyze implements analysis.Analyzer
    func (fa *AlphaAnalyzer) Analyze(ctx analysis.Context) {
    	ctx.ForEach(gvk.Namespace, func(r *resource.Instance) bool {
    		fa.allowAnnotations(r, ctx, gvk.Namespace)
    		return true
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/telemetry/util.go

    // limitations under the License.
    package telemetry
    
    import (
    	"sort"
    
    	"istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    func getNames(entries []*resource.Instance) []string {
    	names := make([]string, 0, len(entries))
    	for _, rs := range entries {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/telemetry/selector.go

    		Inputs: []config.GroupVersionKind{
    			gvk.Telemetry,
    			gvk.Pod,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (a *SelectorAnalyzer) Analyze(c analysis.Context) {
    	podsToTelemetries := make(map[resource.FullName][]*resource.Instance)
    
    	// This is using an unindexed approach for matching selectors.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // CaCertificateAnalyzer checks if CaCertificate is set in case mode is SIMPLE/MUTUAL
    type CaCertificateAnalyzer struct{}
    
    var _ analysis.Analyzer = &CaCertificateAnalyzer{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/virtualservice/conflictingmeshgatewayhosts.go

    		Inputs: []config.GroupVersionKind{
    			gvk.VirtualService,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (c *ConflictingMeshGatewayHostsAnalyzer) Analyze(ctx analysis.Context) {
    	hs := initMeshGatewayHosts(ctx)
    	reported := make(map[resource.FullName]bool)
    	for scopedFqdn, vsList := range hs {
    		scope, _ := scopedFqdn.GetScopeAndFqdn()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top