Home

envoy.config.route.v3.WeightedCluster

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.route.v3.WeightedCluster
.withClusters([ types.envoy.config.route.v3.WeightedCluster.ClusterWeight ])
.withHeaderName('string')
.withRuntimeKeyPrefix('string')
.withTotalWeight(1)
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
clusters [] envoy.config.route.v3.WeightedCluster.ClusterWeight yes  {"Repeated":{"min_items":1}}
header_name string random_value_specifier   {"String_":{"WellKnown":{"WellKnownRegex":1},"strict":false}}
runtime_key_prefix string  
total_weight google.protobuf.UInt32Value