Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 220 for GVK (0.04 sec)

  1. pkg/config/analysis/analyzers/injection/injection.go

    		Inputs: []config.GroupVersionKind{
    			gvk.Namespace,
    			gvk.Pod,
    			gvk.ConfigMap,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (a *Analyzer) Analyze(c analysis.Context) {
    	enableNamespacesByDefault := false
    	injectedNamespaces := make(map[string]bool)
    
    	c.ForEach(gvk.Namespace, func(r *resource.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tests/fuzz/config_validation_fuzzer.go

    	configIndex, err := f.GetInt()
    	if err != nil {
    		return -1
    	}
    
    	r := collections.Pilot.All()[configIndex%len(collections.Pilot.All())]
    	gvk := r.GroupVersionKind()
    	kgvk := schema.GroupVersionKind{
    		Group:   gvk.Group,
    		Version: gvk.Version,
    		Kind:    gvk.Kind,
    	}
    	object, err := kube.IstioScheme.New(kgvk)
    	if err != nil {
    		return 0
    	}
    	_, err = apimeta.TypeAccessor(object)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/gateway/conflictinggateway.go

    		Description: "Checks a gateway's selector, port number and hosts",
    		Inputs: []config.GroupVersionKind{
    			gvk.Gateway,
    		},
    	}
    }
    
    // Analyze implements analysis.Analyzer
    func (s *ConflictingGatewayAnalyzer) Analyze(c analysis.Context) {
    	gwConflictingMap := initGatewaysMap(c)
    	c.ForEach(gvk.Gateway, func(r *resource.Instance) bool {
    		s.analyzeGateway(r, c, gwConflictingMap)
    		return true
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/virtualservice/gateways.go

    		Description: "Checks the gateways associated with each virtual service",
    		Inputs: []config.GroupVersionKind{
    			gvk.Gateway,
    			gvk.VirtualService,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (s *GatewayAnalyzer) Analyze(c analysis.Context) {
    	c.ForEach(gvk.VirtualService, func(r *resource.Instance) bool {
    		s.analyzeVirtualService(r, c)
    		return true
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/injection/injection-image.go

    		Inputs: []config.GroupVersionKind{
    			gvk.Namespace,
    			gvk.Pod,
    			gvk.ConfigMap,
    			gvk.MeshConfig,
    			gvk.ProxyConfig,
    		},
    	}
    }
    
    // Analyze implements Analyzer.
    func (a *ImageAnalyzer) Analyze(c analysis.Context) {
    	proxyImageMap := make(map[string]string)
    
    	// when multiple injector configmaps exist, we may need to assess them respectively.
    	c.ForEach(gvk.ConfigMap, func(r *resource.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/gateway/gateway.go

    		Description: "Checks a gateway's ports against the gateway's Kubernetes service ports",
    		Inputs: []config.GroupVersionKind{
    			gvk.Gateway,
    			gvk.Pod,
    			gvk.Service,
    		},
    	}
    }
    
    // Analyze implements analysis.Analyzer
    func (s *IngressGatewayPortAnalyzer) Analyze(c analysis.Context) {
    	c.ForEach(gvk.Gateway, func(r *resource.Instance) bool {
    		s.analyzeGateway(r, c)
    		return true
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/monitor/monitor_test.go

    	"istio.io/istio/pkg/config/schema/collection"
    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    var createConfigSet = []*config.Config{
    	{
    		Meta: config.Meta{
    			Name:             "magic",
    			GroupVersionKind: gvk.Gateway,
    		},
    		Spec: &networking.Gateway{
    			Servers: []*networking.Server{
    				{
    					Port: &networking.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    	}
    	kind := obj.GetObjectKind()
    	oldGVK := kind.GroupVersionKind()
    	gvk := gvks[0]
    	if e.Version != nil {
    		preferredGVK, ok := e.Version.KindForGroupVersionKinds(gvks)
    		if ok {
    			gvk = preferredGVK
    		}
    	}
    
    	// The gvk only needs to be set if not already as desired.
    	if gvk != oldGVK {
    		kind.SetGroupVersionKind(gvk)
    		defer kind.SetGroupVersionKind(oldGVK)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crd/conversion_test.go

    				Meta: config.Meta{
    					GroupVersionKind: gvk.HTTPRoute,
    					Name:             "test",
    					Namespace:        "default",
    					Domain:           "cluster",
    				},
    				Spec: &gateway.HTTPRouteSpec{
    					Hostnames: []gateway.Hostname{"example.com"},
    				},
    			},
    		},
    		{
    			name: "gateway status",
    			cfg: config.Config{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.HTTPRoute,
    					Name:             "test",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/webhook/webhook.go

    	meta := analysis.Metadata{
    		Name:        "webhook.Analyzer",
    		Description: "Checks the validity of Istio webhooks",
    		Inputs: []config.GroupVersionKind{
    			gvk.MutatingWebhookConfiguration,
    		},
    	}
    	if !a.SkipServiceCheck {
    		meta.Inputs = append(meta.Inputs, gvk.Service)
    	}
    	return meta
    }
    
    func getNamespaceLabels() []klabels.Set {
    	return []klabels.Set{
    		{},
    		{"istio-injection": "enabled"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top