public static interface EnvoyFilterOuterClass.EnvoyFilter.ProxyMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsMetadata(String key)
Match on the node metadata supplied by a proxy when connecting
to Istio Pilot.
|
Map<String,String> |
getMetadata()
已过时。
|
int |
getMetadataCount()
Match on the node metadata supplied by a proxy when connecting
to Istio Pilot.
|
Map<String,String> |
getMetadataMap()
Match on the node metadata supplied by a proxy when connecting
to Istio Pilot.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Match on the node metadata supplied by a proxy when connecting
to Istio Pilot.
|
String |
getMetadataOrThrow(String key)
Match on the node metadata supplied by a proxy when connecting
to Istio Pilot.
|
String |
getProxyVersion()
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.ByteString |
getProxyVersionBytes()
A regular expression in golang regex format (RE2) that can be
used to select proxies using a specific version of istio
proxy.
|
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;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;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;boolean containsMetadata(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;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,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;String getMetadataOrDefault(String key, 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;String getMetadataOrThrow(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;Copyright © 2018–2023 Alibaba Group. All rights reserved.