public static final class RedisProxy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder> implements RedisProxyOrBuilder
[#next-free-field: 9]Protobuf type
envoy.extensions.filters.network.redis_proxy.v3.RedisProxy| Modifier and Type | Method and Description |
|---|---|
RedisProxy.Builder |
addAllFaults(Iterable<? extends RedisProxy.RedisFault> values)
List of faults to inject.
|
RedisProxy.Builder |
addFaults(int index,
RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject.
|
RedisProxy.Builder |
addFaults(int index,
RedisProxy.RedisFault value)
List of faults to inject.
|
RedisProxy.Builder |
addFaults(RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject.
|
RedisProxy.Builder |
addFaults(RedisProxy.RedisFault value)
List of faults to inject.
|
RedisProxy.RedisFault.Builder |
addFaultsBuilder()
List of faults to inject.
|
RedisProxy.RedisFault.Builder |
addFaultsBuilder(int index)
List of faults to inject.
|
RedisProxy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedisProxy |
build() |
RedisProxy |
buildPartial() |
RedisProxy.Builder |
clear() |
RedisProxy.Builder |
clearDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
RedisProxy.Builder |
clearDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password.
|
RedisProxy.Builder |
clearFaults()
List of faults to inject.
|
RedisProxy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RedisProxy.Builder |
clearLatencyInMicros()
Indicates that latency stat should be computed in microseconds.
|
RedisProxy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RedisProxy.Builder |
clearPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.Builder |
clearSettings()
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.Builder |
clearStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
|
RedisProxy.Builder |
clone() |
RedisProxy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataSource |
getDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
DataSource.Builder |
getDownstreamAuthPasswordBuilder()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
DataSourceOrBuilder |
getDownstreamAuthPasswordOrBuilder()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
DataSource |
getDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password.
|
DataSource.Builder |
getDownstreamAuthUsernameBuilder()
If a username is provided an ACL style AUTH command will be required with a username and password.
|
DataSourceOrBuilder |
getDownstreamAuthUsernameOrBuilder()
If a username is provided an ACL style AUTH command will be required with a username and password.
|
RedisProxy.RedisFault |
getFaults(int index)
List of faults to inject.
|
RedisProxy.RedisFault.Builder |
getFaultsBuilder(int index)
List of faults to inject.
|
List<RedisProxy.RedisFault.Builder> |
getFaultsBuilderList()
List of faults to inject.
|
int |
getFaultsCount()
List of faults to inject.
|
List<RedisProxy.RedisFault> |
getFaultsList()
List of faults to inject.
|
RedisProxy.RedisFaultOrBuilder |
getFaultsOrBuilder(int index)
List of faults to inject.
|
List<? extends RedisProxy.RedisFaultOrBuilder> |
getFaultsOrBuilderList()
List of faults to inject.
|
boolean |
getLatencyInMicros()
Indicates that latency stat should be computed in microseconds.
|
RedisProxy.PrefixRoutes |
getPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.PrefixRoutes.Builder |
getPrefixRoutesBuilder()
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.PrefixRoutesOrBuilder |
getPrefixRoutesOrBuilder()
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.ConnPoolSettings |
getSettings()
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.ConnPoolSettings.Builder |
getSettingsBuilder()
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.ConnPoolSettingsOrBuilder |
getSettingsOrBuilder()
Network settings for the connection pool to the upstream clusters.
|
String |
getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
|
boolean |
hasDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
boolean |
hasDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password.
|
boolean |
hasPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
boolean |
hasSettings()
Network settings for the connection pool to the upstream clusters.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RedisProxy.Builder |
mergeDownstreamAuthPassword(DataSource value)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
RedisProxy.Builder |
mergeDownstreamAuthUsername(DataSource value)
If a username is provided an ACL style AUTH command will be required with a username and password.
|
RedisProxy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RedisProxy.Builder |
mergeFrom(com.google.protobuf.Message other) |
RedisProxy.Builder |
mergeFrom(RedisProxy other) |
RedisProxy.Builder |
mergePrefixRoutes(RedisProxy.PrefixRoutes value)
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.Builder |
mergeSettings(RedisProxy.ConnPoolSettings value)
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RedisProxy.Builder |
removeFaults(int index)
List of faults to inject.
|
RedisProxy.Builder |
setDownstreamAuthPassword(DataSource.Builder builderForValue)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
RedisProxy.Builder |
setDownstreamAuthPassword(DataSource value)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis
AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other
command.
|
RedisProxy.Builder |
setDownstreamAuthUsername(DataSource.Builder builderForValue)
If a username is provided an ACL style AUTH command will be required with a username and password.
|
RedisProxy.Builder |
setDownstreamAuthUsername(DataSource value)
If a username is provided an ACL style AUTH command will be required with a username and password.
|
RedisProxy.Builder |
setFaults(int index,
RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject.
|
RedisProxy.Builder |
setFaults(int index,
RedisProxy.RedisFault value)
List of faults to inject.
|
RedisProxy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedisProxy.Builder |
setLatencyInMicros(boolean value)
Indicates that latency stat should be computed in microseconds.
|
RedisProxy.Builder |
setPrefixRoutes(RedisProxy.PrefixRoutes.Builder builderForValue)
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.Builder |
setPrefixRoutes(RedisProxy.PrefixRoutes value)
List of **unique** prefixes used to separate keys from different workloads to different
clusters.
|
RedisProxy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RedisProxy.Builder |
setSettings(RedisProxy.ConnPoolSettings.Builder builderForValue)
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.Builder |
setSettings(RedisProxy.ConnPoolSettings value)
Network settings for the connection pool to the upstream clusters.
|
RedisProxy.Builder |
setStatPrefix(String value)
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
|
RedisProxy.Builder |
setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
|
RedisProxy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RedisProxy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RedisProxy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RedisProxy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProxy.Builder>public RedisProxy.Builder mergeFrom(RedisProxy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public RedisProxy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedisProxy.Builder>IOExceptionpublic String getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefix in interface RedisProxyOrBuilderpublic com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefixBytes in interface RedisProxyOrBuilderpublic RedisProxy.Builder setStatPrefix(String value)
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public RedisProxy.Builder clearStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public RedisProxy.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The prefix to use when emitting :ref:`statistics <config_network_filters_redis_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }public boolean hasSettings()
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }hasSettings in interface RedisProxyOrBuilderpublic RedisProxy.ConnPoolSettings getSettings()
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }getSettings in interface RedisProxyOrBuilderpublic RedisProxy.Builder setSettings(RedisProxy.ConnPoolSettings value)
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }public RedisProxy.Builder setSettings(RedisProxy.ConnPoolSettings.Builder builderForValue)
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }public RedisProxy.Builder mergeSettings(RedisProxy.ConnPoolSettings value)
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }public RedisProxy.Builder clearSettings()
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }public RedisProxy.ConnPoolSettings.Builder getSettingsBuilder()
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }public RedisProxy.ConnPoolSettingsOrBuilder getSettingsOrBuilder()
Network settings for the connection pool to the upstream clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.ConnPoolSettings settings = 3 [(.validate.rules) = { ... }getSettingsOrBuilder in interface RedisProxyOrBuilderpublic boolean getLatencyInMicros()
Indicates that latency stat should be computed in microseconds. By default it is computed in milliseconds. This does not apply to upstream command stats currently.
bool latency_in_micros = 4;getLatencyInMicros in interface RedisProxyOrBuilderpublic RedisProxy.Builder setLatencyInMicros(boolean value)
Indicates that latency stat should be computed in microseconds. By default it is computed in milliseconds. This does not apply to upstream command stats currently.
bool latency_in_micros = 4;public RedisProxy.Builder clearLatencyInMicros()
Indicates that latency stat should be computed in microseconds. By default it is computed in milliseconds. This does not apply to upstream command stats currently.
bool latency_in_micros = 4;public boolean hasPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;hasPrefixRoutes in interface RedisProxyOrBuilderpublic RedisProxy.PrefixRoutes getPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;getPrefixRoutes in interface RedisProxyOrBuilderpublic RedisProxy.Builder setPrefixRoutes(RedisProxy.PrefixRoutes value)
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;public RedisProxy.Builder setPrefixRoutes(RedisProxy.PrefixRoutes.Builder builderForValue)
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;public RedisProxy.Builder mergePrefixRoutes(RedisProxy.PrefixRoutes value)
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;public RedisProxy.Builder clearPrefixRoutes()
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;public RedisProxy.PrefixRoutes.Builder getPrefixRoutesBuilder()
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;public RedisProxy.PrefixRoutesOrBuilder getPrefixRoutesOrBuilder()
List of **unique** prefixes used to separate keys from different workloads to different
clusters. Envoy will always favor the longest match first in case of overlap. A catch-all
cluster can be used to forward commands when there is no match. Time complexity of the
lookups are in O(min(longest key prefix, key length)).
Example:
.. code-block:: yaml
prefix_routes:
routes:
- prefix: "ab"
cluster: "cluster_a"
- prefix: "abc"
cluster: "cluster_b"
When using the above routes, the following prefixes would be sent to:
* ``get abc:users`` would retrieve the key 'abc:users' from cluster_b.
* ``get ab:users`` would retrieve the key 'ab:users' from cluster_a.
* ``get z:users`` would return a NoUpstreamHost error. A :ref:`catch-all
route<envoy_api_field_extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.catch_all_route>`
would have retrieved the key from that cluster instead.
See the :ref:`configuration section
<arch_overview_redis_configuration>` of the architecture overview for recommendations on
configuring the backing clusters.
.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes prefix_routes = 5;getPrefixRoutesOrBuilder in interface RedisProxyOrBuilderpublic boolean hasDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];hasDownstreamAuthPassword in interface RedisProxyOrBuilderpublic DataSource getDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];getDownstreamAuthPassword in interface RedisProxyOrBuilderpublic RedisProxy.Builder setDownstreamAuthPassword(DataSource value)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder setDownstreamAuthPassword(DataSource.Builder builderForValue)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder mergeDownstreamAuthPassword(DataSource value)
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder clearDownstreamAuthPassword()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];public DataSource.Builder getDownstreamAuthPasswordBuilder()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];public DataSourceOrBuilder getDownstreamAuthPasswordOrBuilder()
Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this password before enabling any other command. If an AUTH command's password matches this password, an "OK" response will be returned to the client. If the AUTH command password does not match this password, then an "ERR invalid password" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no password is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_password = 6 [(.udpa.annotations.sensitive) = true];getDownstreamAuthPasswordOrBuilder in interface RedisProxyOrBuilderpublic List<RedisProxy.RedisFault> getFaultsList()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;getFaultsList in interface RedisProxyOrBuilderpublic int getFaultsCount()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;getFaultsCount in interface RedisProxyOrBuilderpublic RedisProxy.RedisFault getFaults(int index)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;getFaults in interface RedisProxyOrBuilderpublic RedisProxy.Builder setFaults(int index, RedisProxy.RedisFault value)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder setFaults(int index, RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder addFaults(RedisProxy.RedisFault value)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder addFaults(int index, RedisProxy.RedisFault value)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder addFaults(RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder addFaults(int index, RedisProxy.RedisFault.Builder builderForValue)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder addAllFaults(Iterable<? extends RedisProxy.RedisFault> values)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder clearFaults()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.Builder removeFaults(int index)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.RedisFault.Builder getFaultsBuilder(int index)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.RedisFaultOrBuilder getFaultsOrBuilder(int index)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;getFaultsOrBuilder in interface RedisProxyOrBuilderpublic List<? extends RedisProxy.RedisFaultOrBuilder> getFaultsOrBuilderList()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;getFaultsOrBuilderList in interface RedisProxyOrBuilderpublic RedisProxy.RedisFault.Builder addFaultsBuilder()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public RedisProxy.RedisFault.Builder addFaultsBuilder(int index)
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public List<RedisProxy.RedisFault.Builder> getFaultsBuilderList()
List of faults to inject. Faults currently come in two flavors:
- Delay, which delays a request.
- Error, which responds to a request with an error. Errors can also have delays attached.
Example:
.. code-block:: yaml
faults:
- fault_type: ERROR
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
commands:
- GET
- fault_type: DELAY
fault_enabled:
default_value:
numerator: 10
denominator: HUNDRED
runtime_key: "bogus_key"
delay: 2s
See the :ref:`fault injection section
<config_network_filters_redis_proxy_fault_injection>` for more information on how to configure this.
repeated .envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.RedisFault faults = 8;public boolean hasDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];hasDownstreamAuthUsername in interface RedisProxyOrBuilderpublic DataSource getDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];getDownstreamAuthUsername in interface RedisProxyOrBuilderpublic RedisProxy.Builder setDownstreamAuthUsername(DataSource value)
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder setDownstreamAuthUsername(DataSource.Builder builderForValue)
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder mergeDownstreamAuthUsername(DataSource value)
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];public RedisProxy.Builder clearDownstreamAuthUsername()
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];public DataSource.Builder getDownstreamAuthUsernameBuilder()
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];public DataSourceOrBuilder getDownstreamAuthUsernameOrBuilder()
If a username is provided an ACL style AUTH command will be required with a username and password. Authenticate Redis client connections locally by forcing downstream clients to issue a `Redis AUTH command <https://redis.io/commands/auth>`_ with this username and the *downstream_auth_password* before enabling any other command. If an AUTH command's username and password matches this username and the *downstream_auth_password* , an "OK" response will be returned to the client. If the AUTH command username or password does not match this username or the *downstream_auth_password*, then an "WRONGPASS invalid username-password pair" error will be returned. If any other command is received before AUTH when this password is set, then a "NOAUTH Authentication required." error response will be sent to the client. If an AUTH command is received when the password is not set, then an "ERR Client sent AUTH, but no ACL is set" error will be returned.
.envoy.config.core.v3.DataSource downstream_auth_username = 7 [(.udpa.annotations.sensitive) = true];getDownstreamAuthUsernameOrBuilder in interface RedisProxyOrBuilderpublic final RedisProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>public final RedisProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedisProxy.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.