- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 223 for analyzers (0.16 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) -
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) -
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/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) -
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) -
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) -
pkg/config/analysis/analyzers/analyzers_bench_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package analyzers import ( "fmt" "testing" "istio.io/istio/pilot/pkg/config/memory" "istio.io/istio/pilot/pkg/model" "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/config"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/service/portname.go
Name: "service.PortNameAnalyzer", Description: "Checks the port names associated with each service", Inputs: []config.GroupVersionKind{ gvk.Service, }, } } // Analyze implements Analyzer func (s *PortNameAnalyzer) Analyze(c analysis.Context) { c.ForEach(gvk.Service, func(r *resource.Instance) bool { // Skip port name check for istio control plane if util.IsIstioControlPlane(r) { return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Sep 15 14:45:58 UTC 2023 - 2.6K bytes - Viewed (0) -
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)