接口 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(String key) Match on the node metadata supplied by a proxy when connecting to Istio Pilot.已过时。intMatch on the node metadata supplied by a proxy when connecting to Istio Pilot.Match on the node metadata supplied by a proxy when connecting to Istio Pilot.getMetadataOrDefault(String key, String defaultValue) Match on the node metadata supplied by a proxy when connecting to Istio Pilot.getMetadataOrThrow(String key) Match on the node metadata supplied by a proxy when connecting to Istio Pilot.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.ByteStringA regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getProxyVersion
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
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
已过时。UsegetMetadataMap()instead. -
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
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
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;
-