Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for EndpointPort (0.25 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    )
    
    func TestResolve(t *testing.T) {
    	matchingEndpoints := func(svc *v1.Service) []*v1.Endpoints {
    		ports := []v1.EndpointPort{}
    		for _, p := range svc.Spec.Ports {
    			if p.TargetPort.Type != intstr.Int {
    				continue
    			}
    			ports = append(ports, v1.EndpointPort{Name: p.Name, Port: p.TargetPort.IntVal})
    		}
    
    		return []*v1.Endpoints{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. pkg/proxy/config/api_test.go

    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{
    				"1.2.3.4",
    			},
    		}},
    		Ports: []discoveryv1.EndpointPort{{
    			Port:     ptr.To[int32](8080),
    			Protocol: ptr.To(v1.ProtocolTCP),
    		}},
    	}
    	endpoints1v2 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "e1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/discovery/v1/generated.proto

      // enable topology aware routing.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    // +structType=atomic
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1beta1/generated.proto

      // enable topology aware routing. May contain a maximum of 8 entries.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // enable topology aware routing. May contain a maximum of 8 entries.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. pkg/apis/discovery/types.go

    }
    
    // ForZone provides information about which zones should consume this endpoint.
    type ForZone struct {
    	// name represents the name of the zone.
    	Name string
    }
    
    // EndpointPort represents a Port used by an EndpointSlice.
    type EndpointPort struct {
    	// The name of this port. All ports in an EndpointSlice must have a unique
    	// name. If the EndpointSlice is derived from a Kubernetes service, this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 21:38:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/lease.go

    // different from the directory listing, and update the endpoints object
    // accordingly.
    func (r *leaseEndpointReconciler) ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error {
    	// reconcile endpoints only if apiserver was not shutdown
    	if r.stopReconcilingCalled.Load() {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			Labels:       labels.Instance{"app": "ratings"},
    			Address:      "2.2.2.21",
    			EndpointPort: 8080,
    		},
    	}
    
    	wiDetails1 := &model.WorkloadInstance{
    		Name:      "details-1",
    		Namespace: "bookinfo-details",
    		Endpoint: &model.IstioEndpoint{
    			Labels:       labels.Instance{"app": "details"},
    			Address:      "2.2.2.21",
    			EndpointPort: 9090,
    		},
    	}
    
    	wiReviews1 := &model.WorkloadInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    			Name:     ptr.To("p33"),
    			Port:     ptr.To[int32](33),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	complexSubset8 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"10.4.4.4"},
    			NodeName:  ptr.To(testHostname),
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1beta1/types.go

    type ForZone struct {
    	// name represents the name of the zone.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    type EndpointPort struct {
    	// name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top