Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for EndpointPort (0.35 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p11"),
    			Port:     ptr.To[int32](11),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	subset2 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"1.1.1.2"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p12"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/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: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    				{
    					Service:     tt.service,
    					ServicePort: tt.port,
    					Endpoint: &model.IstioEndpoint{
    						ServicePortName: tt.port.Name,
    						Address:         "192.168.1.1",
    						EndpointPort:    10001,
    						Locality: model.Locality{
    							ClusterID: "",
    							Label:     "region1/zone1/subzone1",
    						},
    						Labels:  tt.service.Attributes.Labels,
    						TLSMode: model.IstioMutualTLSModeLabel,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    			ServicePort: servicePort,
    			Endpoint: &model.IstioEndpoint{
    				Address:      "1.1.1.1",
    				EndpointPort: 10001,
    			},
    		},
    		{
    			Service:     service,
    			ServicePort: servicePort,
    			Endpoint: &model.IstioEndpoint{
    				Address:      "2001:1::1",
    				EndpointPort: 10001,
    			},
    		},
    	}
    	inboundFilter := func(c *cluster.Cluster) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
    	*out = *in
    	if in.AppProtocol != nil {
    		in, out := &in.AppProtocol, &out.AppProtocol
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
    func (in *EndpointPort) DeepCopy() *EndpointPort {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
    	*out = *in
    	if in.AppProtocol != nil {
    		in, out := &in.AppProtocol, &out.AppProtocol
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
    func (in *EndpointPort) DeepCopy() *EndpointPort {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    					{
    						Addresses: []api.EndpointAddress{
    							{
    								IP: "1.2.3.4",
    							},
    							{
    								IP: "5.6.7.8",
    							},
    						},
    						Ports: []api.EndpointPort{
    							{
    								Port:     8001,
    								Protocol: "tcp",
    							},
    						},
    					},
    				},
    			},
    			// Columns: Name, Endpoints, Age
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__discovery.k8s.io__v1_openapi.json

                },
                "type": "array",
                "x-kubernetes-list-type": "atomic"
              }
            },
            "type": "object"
          },
          "io.k8s.api.discovery.v1.EndpointPort": {
            "description": "EndpointPort represents a Port used by an EndpointSlice",
            "properties": {
              "appProtocol": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 146.6K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    				}
    			}
    		}
    	}
    
    	ret := strings.Join(list, ",")
    	if more {
    		return fmt.Sprintf("%s + %d more...", ret, count-max)
    	}
    	return ret
    }
    
    func formatDiscoveryPorts(ports []discovery.EndpointPort) string {
    	list := []string{}
    	max := 3
    	more := false
    	count := 0
    	for _, port := range ports {
    		if len(list) < max {
    			portNum := "*"
    			if port.Port != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top