envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.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.tcp_proxy.v3.TcpProxy.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 |
uint32
|
|
|
{"Uint32":{"gte":1}}
|