- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 113 for EndpointPort (0.16 sec)
-
pkg/apis/discovery/v1beta1/defaults_test.go
expected *discovery.EndpointSlice }{ "should set appropriate defaults": { original: &discovery.EndpointSlice{Ports: []discovery.EndpointPort{{ Port: utilpointer.Int32(80), }}}, expected: &discovery.EndpointSlice{ Ports: []discovery.EndpointPort{{ Name: &emptyStr, Protocol: &protoTCP, Port: utilpointer.Int32(80), }}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:14:37 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1/zz_generated.deepcopy.go
*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 { return nil } out := new(EndpointPort) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1beta1/zz_generated.deepcopy.go
*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 { return nil } out := new(EndpointPort) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 6.5K bytes - Viewed (0) -
pilot/pkg/model/validation_test.go
}, } func TestServiceInstanceValidate(t *testing.T) { endpointWithLabels := func(lbls labels.Instance) *IstioEndpoint { return &IstioEndpoint{ Address: "192.168.1.1", EndpointPort: 10001, Labels: lbls, } } cases := []struct { name string instance *ServiceInstance valid bool }{ { name: "nil service", instance: &ServiceInstance{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 23 19:35:35 UTC 2023 - 4K bytes - Viewed (0) -
pkg/apis/discovery/zz_generated.deepcopy.go
*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 { return nil } out := new(EndpointPort) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 6.6K bytes - Viewed (0) -
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)