Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for targetRefs (0.17 sec)

  1. pilot/pkg/model/extensions.go

    	}
    }
    
    type WasmPluginListenerInfo struct {
    	Port  int
    	Class istionetworking.ListenerClass
    
    	// Service that WasmPlugins can attach to via targetRefs (optional)
    	Service *Service
    }
    
    // If anyListener is used as a listener info,
    // the listener is matched with any TrafficSelector.
    var anyListener = WasmPluginListenerInfo{
    	Port:  0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/api/v1/endpoints/util_test.go

    			given: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{
    					{IP: "1.2.3.4", TargetRef: &fooObjRef},
    					{IP: "1.2.3.4", TargetRef: &barObjRef},
    				},
    				Ports: []v1.EndpointPort{{Port: 111}},
    			}},
    			expect: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "1.2.3.4", TargetRef: &fooObjRef}},
    				Ports:     []v1.EndpointPort{{Port: 111}},
    			}},
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/authentication_test.go

    							},
    						},
    					},
    				},
    				{
    					Meta: config.Meta{
    						GroupVersionKind: gvk.RequestAuthentication,
    						Name:             "with-targetref",
    						Namespace:        "foo",
    					},
    					Spec: &securityBeta.RequestAuthentication{
    						TargetRef: &selectorpb.PolicyTargetReference{
    							Group: gvk.KubernetesGateway.Group,
    							Kind:  gvk.KubernetesGateway.Kind,
    							Name:  "my-gateway",
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    // * It is an endpoint with an associate Pod, but its not found.
    func (c *Controller) getPod(ip string, namespace string, targetRef *corev1.ObjectReference) *corev1.Pod {
    	if targetRef != nil && targetRef.Kind == "Pod" {
    		key := types.NamespacedName{Name: targetRef.Name, Namespace: targetRef.Namespace}
    		pod := c.pods.getPodByKey(key)
    		return pod
    	}
    	// This means the endpoint is manually controlled
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/authorization_test.go

    	policyWithTargetRef.TargetRef = &selectorpb.PolicyTargetReference{
    		Group:     gvk.KubernetesGateway.Group,
    		Kind:      gvk.KubernetesGateway.Kind,
    		Name:      "my-gateway",
    		Namespace: "bar",
    	}
    
    	policyWithServiceRef := proto.Clone(policy).(*authpb.AuthorizationPolicy)
    	policyWithServiceRef.TargetRef = &selectorpb.PolicyTargetReference{
    		Group:     gvk.Service.Group,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/storage.go

    	if pod == nil {
    		return fmt.Errorf("pod is missing, skipping (%s/%s)", addr.TargetRef.Namespace, addr.TargetRef.Name)
    	}
    	for _, podIP := range pod.Status.PodIPs {
    		if podIP.IP == addr.IP {
    			return nil
    		}
    	}
    	return fmt.Errorf("pod ip(s) doesn't match endpoint ip, skipping: %v vs %s (%s/%s)", pod.Status.PodIPs, addr.IP, addr.TargetRef.Namespace, addr.TargetRef.Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			IP: address,
    			TargetRef: &corev1.ObjectReference{
    				Kind: "Pod",
    				Name: fmt.Sprintf("pod-%d", i),
    			},
    		}
    
    		subset.Addresses = append(subset.Addresses, endpointAddress)
    
    		epSlice.Endpoints = append(epSlice.Endpoints, discovery.Endpoint{
    			Addresses:  []string{endpointAddress.IP},
    			TargetRef:  endpointAddress.TargetRef,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/accesslogs_test.go

    			t.NewSubTest("enabled").Run(func(t framework.TestContext) {
    				applyTelemetryResource(t, true)
    				runAccessLogsTests(t, true, false)
    				deleteTelemetryResource(t, true)
    			})
    			t.NewSubTest("enabled-with-targetref").Run(func(t framework.TestContext) {
    				args := map[string]any{
    					"To":                GetTarget().(echo.Instances),
    					"TargetGatewayName": GetTarget().ServiceName() + "-gateway",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry_test.go

    		telemetryKey: telemetryKey{
    			Workload: namespacedName,
    		},
    		Logging: []*tpb.AccessLogging{
    			emptyEnvoyLogging,
    		},
    	}
    	validTelemetryConfigurationWithTargetRef := &tpb.Telemetry{
    		TargetRef: &v1beta1.PolicyTargetReference{
    			Group: gvk.KubernetesGateway.Group,
    			Kind:  gvk.KubernetesGateway.Kind,
    			Name:  "my-gateway",
    		},
    		Tracing: []*tpb.Tracing{
    			emptyStackDriverTracing,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  10. pilot/pkg/features/pilot.go

    		"If disabled, Gateway API gateways will ignore workloadSelector policies, only"+
    			"applying policies that select the gateway with a targetRef.").Get()
    
    	// Useful for IPv6-only EKS clusters. See https://aws.github.io/aws-eks-best-practices/networking/ipv6/ why it assigns an additional IPv4 NAT address.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top