接口 EnvoyFilterOuterClass.EnvoyFilter.ProxyMatchOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 已过时的方法 
      修饰符和类型 方法 说明
      boolean containsMetadata​(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()
      已过时。
      int getMetadataCount()
      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.String getMetadataOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Match on the node metadata supplied by a proxy when connecting to Istio Pilot.
      java.lang.String getMetadataOrThrow​(java.lang.String key)
      Match on the node metadata supplied by a proxy when connecting to Istio Pilot.
      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.
      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.
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • 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()
        已过时。
        Use getMetadataMap() 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;