Home

envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route
.withCluster('string')
.withPrefix('string')
.withRemovePrefix(false)
.withRequestMirrorPolicy([ types.envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy ])
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
cluster string   {"String_":{"WellKnown":null,"min_len":1}}
prefix string   {"String_":{"WellKnown":null,"max_bytes":1000}}
remove_prefix bool  
request_mirror_policy [] envoy.extensions.filters.network.redis_proxy.v3.RedisProxy.PrefixRoutes.Route.RequestMirrorPolicy