Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for EndpointPort (0.39 sec)

  1. pilot/pkg/security/authn/factory.go

    // authentication policy. Each version of authentication policy will implement this interface.
    type PolicyApplier interface {
    	// InboundMTLSSettings returns inbound mTLS settings for a given workload port
    	InboundMTLSSettings(endpointPort uint32, node *model.Proxy, trustDomainAliases []string, modeOverride model.MutualTLSMode) MTLSSettings
    
    	// JwtFilter returns the JWT HTTP filter to enforce the underlying authentication policy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/proxy/config/config_test.go

    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{"1.1.1.1"},
    		}, {
    			Addresses: []string{"2.2.2.2"},
    		}},
    		Ports: []discoveryv1.EndpointPort{{Port: ptr.To[int32](80)}},
    	}
    	endpoints2 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "bar"},
    		AddressType: discoveryv1.AddressTypeIPv4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    		return nil, err
    	}
    	return ipInfoList, nil
    }
    
    // createEndpointPortSpec creates the endpoint ports
    func createEndpointPortSpec(endpointPort int, endpointPortName string) []corev1.EndpointPort {
    	return []corev1.EndpointPort{{
    		Protocol: corev1.ProtocolTCP,
    		Port:     int32(endpointPort),
    		Name:     endpointPortName,
    	}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/endpoint/endpoints_controller_test.go

    			Name:            "foo",
    			Namespace:       ns,
    			ResourceVersion: "1",
    		},
    		Subsets: []v1.EndpointSubset{{
    			Addresses: []v1.EndpointAddress{{IP: "6.7.8.9", NodeName: &emptyNodeName}},
    			Ports:     []v1.EndpointPort{{Port: 1000}},
    		}},
    	})
    	endpoints.serviceStore.Add(&v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Port: 80}}},
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. pkg/controlplane/reconcilers/instancecount.go

    //     to be running (c.masterCount).
    //   - ReconcileEndpoints is called periodically from all apiservers.
    func (r *masterCountEndpointReconciler) ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error {
    	r.reconcilingLock.Lock()
    	defer r.reconcilingLock.Unlock()
    
    	if r.stopReconcilingCalled {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    				endpointPort := serviceEntryPort.Number
    				if serviceEntryPort.TargetPort > 0 {
    					endpointPort = serviceEntryPort.TargetPort
    				}
    				out = append(out, &model.ServiceInstance{
    					Endpoint: &model.IstioEndpoint{
    						Address:              string(service.Hostname),
    						EndpointPort:         endpointPort,
    						ServicePortName:      serviceEntryPort.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. pilot/pkg/security/authn/policy_applier.go

    	}
    }
    
    func (a policyApplier) InboundMTLSSettings(
    	endpointPort uint32,
    	node *model.Proxy,
    	trustDomainAliases []string,
    	modeOverride model.MutualTLSMode,
    ) MTLSSettings {
    	effectiveMTLSMode := modeOverride
    	if effectiveMTLSMode == model.MTLSUnknown {
    		effectiveMTLSMode = a.GetMutualTLSModeForPort(endpointPort)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. pkg/controlplane/controller/kubernetesservice/controller.go

    	}
    	return servicePorts, serviceType
    }
    
    // createEndpointPortSpec creates the endpoint ports
    func createEndpointPortSpec(endpointPort int, endpointPortName string) []corev1.EndpointPort {
    	return []corev1.EndpointPort{{
    		Protocol: corev1.ProtocolTCP,
    		Port:     int32(endpointPort),
    		Name:     endpointPortName,
    	}}
    }
    
    // CreateOrUpdateMasterServiceIfNeeded will create the specified service if it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top