Home

envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight

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.thrift_proxy.v3.WeightedCluster.ClusterWeight
.withMetadataMatch(types.envoy.config.core.v3.Metadata)
.withName('string')
.withWeight(1)
._validate()

Fields

Name Type One-of group Required Constraints
metadata_match envoy.config.core.v3.Metadata  
name string   {"String_":{"WellKnown":null,"min_len":1}}
weight google.protobuf.UInt32Value   {"Uint32":{"gte":1}}