Home

envoy.extensions.matching.input_matchers.consistent_hashing.v3.ConsistentHashing

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.matching.input_matchers.consistent_hashing.v3.ConsistentHashing
.withModulo(1)
.withSeed(1)
.withThreshold(1)
._validate()

Fields

Name Type One-of group Required Constraints
modulo uint32   {"Uint32":{"gt":0}}
seed uint64  
threshold uint32