- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 153 for analyzers (0.44 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) -
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/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) -
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) -
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)