接口 EnvoyFilterOuterClass.EnvoyFilter.ProxyMatchOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
EnvoyFilterOuterClass.EnvoyFilter.ProxyMatch,EnvoyFilterOuterClass.EnvoyFilter.ProxyMatch.Builder
public static interface EnvoyFilterOuterClass.EnvoyFilter.ProxyMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsMetadata(java.lang.String key)Match on the node metadata supplied by a proxy when connecting to Istio Pilot.java.util.Map<java.lang.String,java.lang.String>getMetadata()已过时。intgetMetadataCount()Match on the node metadata supplied by a proxy when connecting to Istio Pilot.java.util.Map<java.lang.String,java.lang.String>getMetadataMap()Match on the node metadata supplied by a proxy when connecting to Istio Pilot.java.lang.StringgetMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Match on the node metadata supplied by a proxy when connecting to Istio Pilot.java.lang.StringgetMetadataOrThrow(java.lang.String key)Match on the node metadata supplied by a proxy when connecting to Istio Pilot.java.lang.StringgetProxyVersion()A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy.com.google.protobuf.ByteStringgetProxyVersionBytes()A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy.
-
-
-
方法详细资料
-
getProxyVersion
java.lang.String getProxyVersion()
A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy. The Istio version for a given proxy is obtained from the node metadata field `ISTIO_VERSION` supplied by the proxy when connecting to Pilot. This value is embedded as an environment variable (`ISTIO_META_ISTIO_VERSION`) in the Istio proxy docker image. Custom proxy implementations should provide this metadata variable to take advantage of the Istio version check option.
string proxy_version = 1;- 返回:
- The proxyVersion.
-
getProxyVersionBytes
com.google.protobuf.ByteString getProxyVersionBytes()
A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy. The Istio version for a given proxy is obtained from the node metadata field `ISTIO_VERSION` supplied by the proxy when connecting to Pilot. This value is embedded as an environment variable (`ISTIO_META_ISTIO_VERSION`) in the Istio proxy docker image. Custom proxy implementations should provide this metadata variable to take advantage of the Istio version check option.
string proxy_version = 1;- 返回:
- The bytes for proxyVersion.
-
getMetadataCount
int getMetadataCount()
Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.
map<string, string> metadata = 2;
-
containsMetadata
boolean containsMetadata(java.lang.String key)
Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.
map<string, string> metadata = 2;
-
getMetadata
@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata()
已过时。UsegetMetadataMap()instead.
-
getMetadataMap
java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.
map<string, string> metadata = 2;
-
getMetadataOrDefault
java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.
map<string, string> metadata = 2;
-
getMetadataOrThrow
java.lang.String getMetadataOrThrow(java.lang.String key)
Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.
map<string, string> metadata = 2;
-
-