- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IsHTTP (0.12 sec)
-
pkg/config/gateway/gateway.go
func IsTLSServer(server *v1alpha3.Server) bool { // to filter out https redirect if server.Tls != nil && !protocol.Parse(server.Port.Protocol).IsHTTP() { return true } return false } // IsHTTPSServerWithTLSTermination returns true if the server is HTTPS with TLS termination func IsHTTPSServerWithTLSTermination(server *v1alpha3.Server) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:13:01 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/config/protocol/instance_test.go
package protocol_test import ( "testing" "istio.io/istio/pkg/config/protocol" ) func TestIsHTTP(t *testing.T) { if protocol.UDP.IsHTTP() { t.Errorf("UDP is not HTTP protocol") } if !protocol.GRPC.IsHTTP() { t.Errorf("gRPC is HTTP protocol") } } func TestParse(t *testing.T) { testPairs := []struct { name string out protocol.Instance }{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 11 16:27:16 UTC 2022 - 2K bytes - Viewed (0) -
pkg/config/protocol/instance.go
// IsHTTPOrSniffed is true for protocols that use HTTP as transport protocol, or *can* use it if sniffed to be HTTP func (i Instance) IsHTTPOrSniffed() bool { return i.IsHTTP() || i.IsUnsupported() } // IsHTTP is true for protocols that use HTTP as transport protocol func (i Instance) IsHTTP() bool { switch i { case HTTP, HTTP2, HTTP_PROXY, GRPC, GRPCWeb: return true default: return false } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 01 02:46:15 UTC 2023 - 4.3K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
} if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() { clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "tcp").build()) } if port.Protocol.IsUnsupported() || port.Protocol.IsHTTP() { clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build()) } cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0)