Home

envoy.config.cluster.v3.Cluster.PreconnectPolicy

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.cluster.v3.Cluster.PreconnectPolicy
.withPerUpstreamPreconnectRatio(1)
.withPredictivePreconnectRatio(1)
._validate()

Fields

Name Type One-of group Required Constraints
per_upstream_preconnect_ratio google.protobuf.DoubleValue   {"Double":{"gte":1,"lte":3}}
predictive_preconnect_ratio google.protobuf.DoubleValue   {"Double":{"gte":1,"lte":3}}