- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 346 for analyzers (0.31 sec)
-
tests/fuzz/analyzer_fuzzer.go
"istio.io/istio/pkg/config" "istio.io/istio/pkg/config/analysis" "istio.io/istio/pkg/config/analysis/analyzers" "istio.io/istio/pkg/config/analysis/local" "istio.io/istio/pkg/config/analysis/scope" "istio.io/istio/pkg/log" ) var availableAnalyzers = analyzers.All() // createRandomConfigFile creates a single fuzzed config file func createRandomConfigFile(f *fuzz.ConsumeFuzzer) (string, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K 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/metadata.go
// limitations under the License. package analysis import "istio.io/istio/pkg/config" // Metadata represents metadata for an analyzer type Metadata struct { Name string // Description is a short explanation of what the analyzer checks. This // field is displayed to users when --list-analyzers is called. Description string Inputs []config.GroupVersionKind
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 923 bytes - Viewed (0) -
pkg/config/analysis/analyzers/annotations/annotations.go
gvk.Namespace, gvk.Service, gvk.Pod, gvk.Deployment, }, } } // Analyze implements analysis.Analyzer func (fa *K8sAnalyzer) Analyze(ctx analysis.Context) { ctx.ForEach(gvk.Namespace, func(r *resource.Instance) bool { fa.allowAnnotations(r, ctx, "Namespace", gvk.Namespace) return true }) ctx.ForEach(gvk.Service, func(r *resource.Instance) bool { fa.allowAnnotations(r, ctx, "Service", gvk.Service)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jun 25 13:14:31 UTC 2023 - 5K 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) -
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) -
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) -
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) -
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)