Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for GVK (0.32 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/model/policyattachment_test.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/test"
    )
    
    func TestPolicyMatcher(t *testing.T) {
    	sampleTargetRef := &v1beta1.PolicyTargetReference{
    		Group: gvk.KubernetesGateway.Group,
    		Kind:  gvk.KubernetesGateway.Kind,
    		Name:  "sample-gateway",
    	}
    	waypointTargetRef := &v1beta1.PolicyTargetReference{
    		Group: gvk.KubernetesGateway.Group,
    		Kind:  gvk.KubernetesGateway.Kind,
    		Name:  "sample-waypoint",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	object *apiservercel.DeclType
    	params *apiservercel.DeclType
    }
    
    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    	// Issues contain machine-readable information about the typechecking result.
    	Issues error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/gateway_test.go

    		},
    	}
    	virtualService := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "virtual-service",
    			Namespace:        "default",
    		},
    		Spec: virtualServiceSpec,
    	}
    	virtualServiceCaseInsensitive := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "virtual-service-case-insensitive",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
Back to top