Home

envoy.config.cluster.v3.Cluster.RingHashLbConfig

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.config.cluster.v3.Cluster.RingHashLbConfig
.withHashFunction(types.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH)
.withMaximumRingSize(1)
.withMinimumRingSize(1)
._validate()

Nested Enums

Fields

Name Type One-of group Required Constraints
hash_function envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction   {"Enum":{"defined_only":true}}
maximum_ring_size google.protobuf.UInt64Value   {"Uint64":{"lte":8388608}}
minimum_ring_size google.protobuf.UInt64Value   {"Uint64":{"lte":8388608}}