consul/proto-public/pbmesh/v2beta1/connection.proto
John Murret a7fbd00865
NET-5073 - ProxyConfiguration: implement various connection options (#19187)
* NET-5073 - ProxyConfiguration: implement various connection options

* PR feedback - LocalConnection and InboundConnection do not affect exposed routes. configure L7 route destinations. fix connection proto sequence numbers.

* add timeout to L7 Route Destinations
2023-10-14 13:54:08 +00:00

31 lines
855 B
Protocol Buffer

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
package hashicorp.consul.mesh.v2beta1;
import "google/protobuf/duration.proto";
// Referenced by ProxyConfiguration
message ConnectionConfig {
// +kubebuilder:validation:Format=duration
google.protobuf.Duration connect_timeout = 1;
// +kubebuilder:validation:Format=duration
google.protobuf.Duration request_timeout = 2;
}
// Referenced by ProxyConfiguration
message InboundConnectionsConfig {
uint32 max_inbound_connections = 1;
BalanceConnections balance_inbound_connections = 2;
}
// +kubebuilder:validation:Enum=BALANCE_CONNECTIONS_DEFAULT;BALANCE_CONNECTIONS_EXACT
// +kubebuilder:validation:Type=string
enum BalanceConnections {
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
BALANCE_CONNECTIONS_DEFAULT = 0;
BALANCE_CONNECTIONS_EXACT = 1;
}