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()
| 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}}
|