Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 491 for analyzers (0.2 sec)

  1. pkg/config/analysis/context.go

    )
    
    // IteratorFn is used to iterate over a set of collection entries. It must return true to keep iterating.
    type IteratorFn func(r *resource.Instance) bool
    
    // Context is an analysis context that is passed to individual analyzers.
    type Context interface {
    	// Report a diagnostic message
    	Report(c config.GroupVersionKind, t diag.Message)
    
    	// Find a resource in the collection. If not found, nil is returned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 20:21:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. releasenotes/notes/45644.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 27 04:04:36 UTC 2023
    - 171 bytes
    - Viewed (0)
  4. releasenotes/notes/35405.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    
    # issue is a list of GitHub issues resolved in this note.
    issue:
      - https://github.com/istio/istio/issues/35405
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 15 18:09:29 UTC 2021
    - 323 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/inspect/inspect.go

    //		"golang.org/x/tools/go/ast/inspector"
    //	)
    //
    //	var Analyzer = &analysis.Analyzer{
    //		...
    //		Requires:       []*analysis.Analyzer{inspect.Analyzer},
    //	}
    //
    //	func run(pass *analysis.Pass) (interface{}, error) {
    //		inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    //		inspect.Preorder(nil, func(n ast.Node) {
    //			...
    //		})
    //		return nil, nil
    //	}
    package inspect
    
    import (
    	"reflect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/content/content.go

    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(result.SkippedAnalyzers) > 0 {
    		log.Infof("Skipped analyzers:")
    		for _, a := range result.SkippedAnalyzers {
    			log.Infof("\t: %s", a)
    		}
    	}
    	if len(result.ExecutedAnalyzers) > 0 {
    		log.Infof("Executed analyzers:")
    		for _, a := range result.ExecutedAnalyzers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/serviceentry/protocoladdresses.go

    	"istio.io/istio/pkg/config"
    	"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"
    )
    
    type ProtocolAddressesAnalyzer struct{}
    
    var _ analysis.Analyzer = &ProtocolAddressesAnalyzer{}
    
    func (serviceEntry *ProtocolAddressesAnalyzer) Metadata() analysis.Metadata {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. pkg/test/framework/features/README.md

    ```yaml
        usability:
          observability:
            status:
          analyzers:
            virtualservice:
    ```
    
    will allow you to label a test with:
    
    ```go
        "usability.observability.status.exist-by-default"
        "usability.analyzers.virtualservice"
    ```
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/virtualservice/destinationrules.go

    	"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"
    )
    
    // DestinationRuleAnalyzer checks the destination rules associated with each virtual service
    type DestinationRuleAnalyzer struct{}
    
    var _ analysis.Analyzer = &DestinationRuleAnalyzer{}
    
    // Metadata implements Analyzer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_generated_main.txt

    # Tests that the generated test main file has a generated code comment.
    # This is needed by analyzers that access source files through 'go list'.
    # Verifies golang.org/issue/31971.
    # TODO(jayconrod): This test is brittle. We should write _testmain.go as
    # a build action instead of with an ad-hoc WriteFile call
    # in internal/test/test.go. Then we could just grep 'go get -n'.
    go test x_test.go
    
    -- x_test.go --
    package x
    
    import (
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 924 bytes
    - Viewed (0)
Back to top