接口 EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder

    • 方法详细资料

      • getApplyToValue

        int getApplyToValue()
         Specifies where in the Envoy configuration, the patch should be
         applied.  The match is expected to select the appropriate
         object based on applyTo.  For example, an applyTo with
         `HTTP_FILTER` is expected to have a match condition on the
         listeners, with a network filter selection on
         `envoy.filters.network.http_connection_manager` and a sub filter selection on the
         HTTP filter relative to which the insertion should be
         performed. Similarly, an applyTo on `CLUSTER` should have a match
         (if provided) on the cluster and not on a listener.
         
        .istio.networking.v1alpha3.EnvoyFilter.ApplyTo apply_to = 1;
        返回:
        The enum numeric value on the wire for applyTo.
      • getApplyTo

        EnvoyFilterOuterClass.EnvoyFilter.ApplyTo getApplyTo()
         Specifies where in the Envoy configuration, the patch should be
         applied.  The match is expected to select the appropriate
         object based on applyTo.  For example, an applyTo with
         `HTTP_FILTER` is expected to have a match condition on the
         listeners, with a network filter selection on
         `envoy.filters.network.http_connection_manager` and a sub filter selection on the
         HTTP filter relative to which the insertion should be
         performed. Similarly, an applyTo on `CLUSTER` should have a match
         (if provided) on the cluster and not on a listener.
         
        .istio.networking.v1alpha3.EnvoyFilter.ApplyTo apply_to = 1;
        返回:
        The applyTo.
      • hasMatch

        boolean hasMatch()
         Match on listener/route configuration/cluster.
         
        .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectMatch match = 2;
        返回:
        Whether the match field is set.
      • hasPatch

        boolean hasPatch()
         The patch to apply along with the operation.
         
        .istio.networking.v1alpha3.EnvoyFilter.Patch patch = 3;
        返回:
        Whether the patch field is set.