- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,708 for PORT (0.03 sec)
-
pilot/pkg/model/validation_test.go
Protocol: service1.Ports[1].Protocol, }, Endpoint: &IstioEndpoint{ Address: "192.168.1.2", EndpointPort: uint32(service1.Ports[1].Port), }, }, }, { name: "endpoint port and protocol mismatch", instance: &ServiceInstance{ Service: service1, ServicePort: &Port{ Name: "http", Port: service1.Ports[1].Port + 1,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 23 19:35:35 UTC 2023 - 4K bytes - Viewed (0) -
pkg/probe/util.go
} if port > 0 && port < 65536 { return port, nil } return port, fmt.Errorf("invalid port number: %v", port) } // findPortByName is a helper function to look up a port in a container by name. func findPortByName(container *v1.Container, portName string) (int, error) { for _, port := range container.Ports { if port.Name == portName { return int(port.ContainerPort), nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 19 16:51:52 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_test.go
for _, epPort := range epPorts { portsToBeMatched[epPort.Port] = epPort } for _, epsPort := range epsPorts { epPort, ok := portsToBeMatched[*epsPort.Port] if !ok { return false } delete(portsToBeMatched, *epsPort.Port) if epPort.Name != *epsPort.Name { return false } if epPort.Port != *epsPort.Port { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
pkg/config/validation/agent/extensionprovider_test.go
Service: "name/space/datadog-agent.com", Port: 8126, }, valid: false, }, { name: "datadog service with port", config: &meshconfig.MeshConfig_ExtensionProvider_DatadogTracingProvider{ Service: "datadog-agent.com:8126", Port: 8126, }, valid: false, }, { name: "datadog missing port",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-2.yaml
ports: - name: tcp-foo protocol: TCP port: 8080 targetPort: 8080 --- # Service with extra port in cluster2, should generate warning. apiVersion: v1 kind: Service metadata: name: extra-port namespace: my-namespace spec: selector: app: my-service ports: - name: tcp-foo protocol: TCP port: 8080 targetPort: 8080 - name: tcp-bar protocol: TCP
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.7K bytes - Viewed (0) -
operator/pkg/translate/strategic_port_merge_test.go
Name: "http-port", Port: 80, TargetPort: intstr.IntOrString{IntVal: 8080}, } mysqlPort = &v1.ServicePort{ Name: "mysql-port", Protocol: v1.ProtocolTCP, Port: 3306, } istioHealthcheckPort = &v1.ServicePort{ Name: "status-port", Protocol: v1.ProtocolTCP, Port: 15021, } istioMetricsPort = &v1.ServicePort{ Name: "metrics-port", Protocol: v1.ProtocolTCP,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 21 03:06:37 UTC 2021 - 6.2K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/operation.go
} // Try to find the next non allocated port. // If too many ports are full, just reuse one, // since this is just a dummy value. for port := lastPort + 1; port < 100; port++ { err := op.Allocate(port) if err == nil { return port, nil } } op.allocated = append(op.allocated, lastPort+1) return lastPort + 1, nil } port, err := op.pa.AllocateNext() if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/controlplane/reconcilers/lease_test.go
{Name: "foo", Port: 8080, Protocol: "TCP"}, {Name: "bar", Port: 1000, Protocol: "TCP"}, {Name: "baz", Port: 1010, Protocol: "TCP"}, }, initialState: makeEndpointsArray("foo", []string{"1.2.3.4"}, []corev1.EndpointPort{ {Name: "foo", Port: 8080, Protocol: "TCP"}, {Name: "bar", Port: 1000, Protocol: "TCP"}, {Name: "baz", Port: 1010, Protocol: "TCP"}, }, ),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 28.7K bytes - Viewed (0) -
internal/http/check_port_test.go
expectedErr error }{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)}, {"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)}, } for _, testCase := range testCases { err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{}) switch { case testCase.expectedErr == nil: if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden
name: allowed-2.http.1 route: - destination: host: svc2.allowed-2.svc.domain.suffix port: number: 80 - match: - uri: prefix: /foo/bar name: allowed-2.http.0 route: - destination: host: svc2.allowed-2.svc.domain.suffix port: number: 80 - match: - headers: my-header: exact: some-value uri:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 20:21:53 UTC 2023 - 6.3K bytes - Viewed (0)