Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for Se (0.02 sec)

  1. pilot/pkg/networking/apigen/apigen_test.go

    		if err != nil {
    			t.Fatal("Failed to receive lds", err)
    		}
    
    		ses := adscConn.Store.List(gvk.ServiceEntry, "")
    		for _, se := range ses {
    			t.Log(se)
    		}
    		sec := adscConn.Store.List(gvk.EnvoyFilter, "")
    		for _, se := range sec {
    			t.Log(se)
    		}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		// same as selector but with an additional host
    		selector1 := func() *config.Config {
    			c := httpStaticOverlay.DeepCopy()
    			se := c.Spec.(*networking.ServiceEntry)
    			se.Hosts = append(se.Hosts, "selector1.com")
    			se.Endpoints = nil
    			se.WorkloadSelector = &networking.WorkloadSelector{
    				Labels: map[string]string{"app": "wle"},
    			}
    			return &c
    		}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. tests/integration/security/pass_through_filter_chain_test.go

    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    						//
    						// Since our client will talk directly to pods via IP, we have to configure the ports
    						// in the SE as TCP, since only TCP does will match based in IP address rather than host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/serviceentry_simulation_test.go

    // limitations under the License.
    package core_test
    
    import (
    	"fmt"
    	"testing"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/simulation"
    	"istio.io/istio/pilot/test/xds"
    )
    
    const se = `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: se1
    spec:
      hosts:
      - blah.somedomain
      addresses:
      - %s
      ports:
      - number: 9999
        name: TCP-9999
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/util/service_lookup.go

    		s := r.Message.(*corev1.ServiceSpec)
    		var se *v1alpha3.ServiceEntry
    		var ports []*v1alpha3.ServicePort
    		for _, p := range s.Ports {
    			ports = append(ports, &v1alpha3.ServicePort{
    				Number:   uint32(p.Port),
    				Name:     p.Name,
    				Protocol: string(p.Protocol),
    			})
    		}
    		host := ConvertHostToFQDN(r.Metadata.FullName.Namespace, r.Metadata.FullName.Name.String())
    		se = &v1alpha3.ServiceEntry{
    			Hosts: []string{host},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	}
    	serviceInstanceTests := []struct {
    		name      string
    		wle       *networking.WorkloadEntry
    		se        *config.Config
    		clusterID cluster.ID
    		out       []*model.ServiceInstance
    	}{
    		{
    			name: "simple",
    			wle: &networking.WorkloadEntry{
    				Address: "1.1.1.1",
    				Labels:  labels,
    			},
    			se: selector,
    			out: []*model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. pkg/kube/krt/join_test.go

    	})
    
    	se := &istioclient.ServiceEntry{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "svc-entry",
    			Namespace: "namespace",
    		},
    		Spec: istio.ServiceEntry{WorkloadSelector: &istio.WorkloadSelector{Labels: map[string]string{"app": "foo"}}},
    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. pkg/dns/server/name_table.go

    			}
    			out.Table[hostName.String()] = nameInfo
    		} else if provider.ID(ni.Registry) != provider.Kubernetes {
    			// 2 possible cases:
    			// 1. If the SE has multiple addresses(vips) specified, merge the ips
    			// 2. If the previous SE is a decorator of the k8s service, give precedence to the k8s service
    			if svc.Attributes.ServiceRegistry == provider.Kubernetes {
    				ni.Ips = addressList
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

    func SetWaypoint(t framework.TestContext, svc string, waypoint string) {
    	setWaypointInternal(t, svc, apps.Namespace.Name(), waypoint, true)
    }
    
    func SetWaypointServiceEntry(t framework.TestContext, se, namespace string, waypoint string) {
    	setWaypointInternal(t, se, namespace, waypoint, false)
    }
    
    func setWaypointInternal(t framework.TestContext, name, ns string, waypoint string, service bool) {
    	for _, c := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    	// GetByIP should return nil
    
    	verifyGetByIP("1.1.1.1", nil)
    }
    
    func TestIndex_FindAll(t *testing.T) {
    	// Setup a couple of workload instances for test. These will be selected by the `selector` SE
    	wi1 := &model.WorkloadInstance{
    		Name:      selector.Name,
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "2.2.2.2",
    			Labels:  map[string]string{"app": "wle"}, // should match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top