- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 124 for EndpointPort (0.19 sec)
-
pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go
expectedNumActions int expectedNumSlices int }{{ testName: "Endpoints with no addresses", service: &v1.Service{}, endpoints: &v1.Endpoints{ Subsets: []v1.EndpointSubset{{ Ports: []v1.EndpointPort{{Port: 80}}, }}, }, endpointSlices: []*discovery.EndpointSlice{}, expectedNumActions: 0, expectedNumSlices: 0, }, { testName: "Endpoints with skip label true",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 13.9K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/utils.go
// EndpointSlice resource. func epPortsToEpsPorts(epPorts []corev1.EndpointPort) []discovery.EndpointPort { epsPorts := []discovery.EndpointPort{} for _, epPort := range epPorts { epp := epPort.DeepCopy() epsPorts = append(epsPorts, discovery.EndpointPort{ Name: &epp.Name, Port: &epp.Port, Protocol: &epp.Protocol, AppProtocol: epp.AppProtocol,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 8.8K bytes - Viewed (0) -
pkg/controlplane/reconcilers/helpers_test.go
k8stesting "k8s.io/client-go/testing" ) func makeEndpointsArray(name string, ips []string, ports []corev1.EndpointPort) []runtime.Object { return []runtime.Object{ makeEndpoints(name, ips, ports), makeEndpointSlice(name, ips, ports), } } func makeEndpoints(name string, ips []string, ports []corev1.EndpointPort) *corev1.Endpoints { endpoints := &corev1.Endpoints{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 27 12:46:23 UTC 2022 - 4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
ports []v1.EndpointPort, ips []string, addrType discovery.AddressType, ) { esps := make([]discovery.EndpointPort, 0) for _, name := range ports { n := name // Create a stable reference to take the pointer from esps = append(esps, discovery.EndpointPort{ Name: &n.Name, Protocol: &n.Protocol, Port: &n.Port,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
pkg/controlplane/reconcilers/endpointsadapter_test.go
for i, port := range ports { endpointPort := corev1.EndpointPort{ Name: fmt.Sprintf("port-%d", i), Port: int32(port), Protocol: corev1.ProtocolTCP, } subset.Ports = append(subset.Ports, endpointPort) epSlice.Ports = append(epSlice.Ports, discovery.EndpointPort{ Name: &endpointPort.Name, Port: &endpointPort.Port, Protocol: &endpointPort.Protocol, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go
Labels: b.labels, ServiceAccount: b.serviceAccount, Locality: b.locality, TLSMode: b.tlsMode, Address: endpointAddress, EndpointPort: uint32(endpointPort), ServicePortName: svcPortName, Network: networkID, WorkloadName: b.workloadName, Namespace: b.namespace, HostName: b.hostname,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4.8K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
eps.AddressType = discovery.AddressTypeIPv4 eps.Endpoints = []discovery.Endpoint{{ Addresses: []string{epIpAddressRemote}, }} eps.Ports = []discovery.EndpointPort{{ Name: ptr.To(svcPortName.Port), Port: ptr.To(int32(svcPort)), Protocol: ptr.To(v1.ProtocolTCP), }} }), ) proxier.setInitialized(true) proxier.syncProxyRules()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/controlplane/reconcilers/none.go
func (r *noneEndpointReconciler) ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error { return nil } // RemoveEndpoints noop reconcile func (r *noneEndpointReconciler) RemoveEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort) error { return nil } func (r *noneEndpointReconciler) StopReconciling() { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 11:45:48 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/metrics/cache_test.go
c := NewCache(int32(100)) p80 := int32(80) p443 := int32(443) pmKey80443 := endpointsliceutil.NewPortMapKey([]discovery.EndpointPort{{Port: &p80}, {Port: &p443}}) pmKey80 := endpointsliceutil.NewPortMapKey([]discovery.EndpointPort{{Port: &p80}}) spCacheEfficient := NewEndpointPortCache() spCacheEfficient.Set(pmKey80, EfficiencyInfo{Endpoints: 45, Slices: 1})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 2.6K bytes - Viewed (0)