接口 SidecarOuterClass.OutboundTrafficPolicyOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
SidecarOuterClass
public static interface SidecarOuterClass.OutboundTrafficPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar.Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar.getMode().istio.networking.v1alpha3.OutboundTrafficPolicy.Mode mode = 1;int.istio.networking.v1alpha3.OutboundTrafficPolicy.Mode mode = 1;booleanSpecifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getModeValue
int getModeValue().istio.networking.v1alpha3.OutboundTrafficPolicy.Mode mode = 1;- 返回:
- The enum numeric value on the wire for mode.
-
getMode
.istio.networking.v1alpha3.OutboundTrafficPolicy.Mode mode = 1;- 返回:
- The mode.
-
hasEgressProxy
boolean hasEgressProxy()Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar. Valid only if the mode is set to ALLOW_ANY. If not specified when the mode is ALLOW_ANY, the sidecar will send the unknown traffic directly to the IP requested by the application. ** NOTE 1**: The specified egress host must be imported in the egress section for the traffic forwarding to work. ** NOTE 2**: An Envoy based egress gateway is unlikely to be able to handle plain text TCP connections forwarded from the sidecar. Envoy's dynamic forward proxy can handle only HTTP and TLS connections. $hide_from_docs
.istio.networking.v1alpha3.Destination egress_proxy = 2;- 返回:
- Whether the egressProxy field is set.
-
getEgressProxy
VirtualServiceOuterClass.Destination getEgressProxy()Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar. Valid only if the mode is set to ALLOW_ANY. If not specified when the mode is ALLOW_ANY, the sidecar will send the unknown traffic directly to the IP requested by the application. ** NOTE 1**: The specified egress host must be imported in the egress section for the traffic forwarding to work. ** NOTE 2**: An Envoy based egress gateway is unlikely to be able to handle plain text TCP connections forwarded from the sidecar. Envoy's dynamic forward proxy can handle only HTTP and TLS connections. $hide_from_docs
.istio.networking.v1alpha3.Destination egress_proxy = 2;- 返回:
- The egressProxy.
-
getEgressProxyOrBuilder
VirtualServiceOuterClass.DestinationOrBuilder getEgressProxyOrBuilder()Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar. Valid only if the mode is set to ALLOW_ANY. If not specified when the mode is ALLOW_ANY, the sidecar will send the unknown traffic directly to the IP requested by the application. ** NOTE 1**: The specified egress host must be imported in the egress section for the traffic forwarding to work. ** NOTE 2**: An Envoy based egress gateway is unlikely to be able to handle plain text TCP connections forwarded from the sidecar. Envoy's dynamic forward proxy can handle only HTTP and TLS connections. $hide_from_docs
.istio.networking.v1alpha3.Destination egress_proxy = 2;
-